Skip to content

Number field

In the table page, a number field will look like this

field image

In the create / edit page

edit field image

Config

min

Optionnal, minimum value for the number

max

Optionnal, maximum value for the number

step

Optionnal, step to use in the HTML number input type field

By default only allows integers: step = 1

defaultValue

Optionnal, a static number default value to show on the creation form

valueDisplayTemplate

Optionnal, a string that work as a template to customize the value displayed in the table

You can put whatever you want in the string as long as you put {{value}} somewhere

variant

Optionnal, use a number component variant: