Number
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
Name | Type | Description |
---|---|---|
id | string | Assigns a name for the given field on the backend. This name can be used to refer this field in another field |
label | string | Adds a label to the given field |
isRequired | boolean | Makes a field mandatory |
showInTable | boolean | Displays the field in a table after saving the entry |
defaultValue | string | Sets a default value for the given field |
max | number | Indicates maximum possible value |
min | number | Indicates minimum possible value |