Range field
Data
| Key |
Type(s) |
Optional |
Description |
| name |
string |
|
The form field name, this value must be used as the input's name key |
| type |
string |
|
Different types of form fields such as text password email select range file |
| label |
string |
|
The label for the form field |
| required |
boolean |
|
Indicates if the field is required for validation |
| options |
array |
optional |
Collection of options used by the select and range types. Only available when applicable |
Options
Selectable options within the range component. Only one option can be the selected one.
| Key |
Type(s) |
Optional |
Description |
| name |
string |
|
The field name, same as the parents name |
| value |
string |
|
The value that should be used by the parent when the option is selected or picked |
| label |
string |
|
Label for the option |
Example
{
"name": "CLANGDUTCH",
"type": "range",
"label": "Nederlands",
"required": false,
"options": [
{
"name": "CLANGDUTCH",
"value": "0",
"label": "Geen"
},
{
"name": "CLANGDUTCH",
"value": "1",
"label": "Zwak"
},
{
"name": "CLANGDUTCH",
"value": "2",
"label": "Matig"
},
{
"name": "CLANGDUTCH",
"value": "3",
"label": "Goed"
},
{
"name": "CLANGDUTCH",
"value": "4",
"label": "Zeer goed"
},
{
"name": "CLANGDUTCH",
"value": "5",
"label": "Moedertaal"
}
]
}