Control Fields
Control Fields are input controls that collect data from users. A text input, an email input, or a radio group are examples of Control Fields.
Control Fields are defined by setting the kind property as control, and the property label is mandatory for accessibility.
Main Properties
Section titled “Main Properties”Use these properties to customize your Control Fields.
| property | type | value |
|---|---|---|
uid | string | A unique id, if none provided, one will be generated automatically |
kind | string | MANDATORY All Control Fields are type control |
widget | string | MANDATORY The Control Field widget that you want to use (for example: textinput) |
path | string | MANDATORY A . separated string with the data path (for example: user.firstName) |
label | string | MANDATORY A string to display the Control Field label |
props | object | An object with custom properties defined by each Control Field, check the documentation of each Control Field to know more |