This field is used to input a number.

"type": "number",
"id": "num",
"label": "Num",
"showInTable": true,
"isRequired": true,
"defaultValue": 100,
"max": 1000,
"min": 1

The example above takes a number input where the upper and lower boundaries are defined as 1000 and 1 resprectively. The defaultValue is set at 100.

Field Attributes

idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry
defaultValuestringSets a default value for the given field
maxnumberIndicates maximum possible value
minnumberIndicates minimum possible value