Optional
customOptional
defaultWhether or not this item is disabled by default.
Optional
disabledA list of choice id.
This item will be disabled if the requirement is fulfilled.
Optional
enabledA list of choice id.
This item will be enabled if the requirement is fulfilled.
Optional
idItem id.
It should be unique throughout the entire form.
It will be auto generated if you leave it falsy.
Optional
onOptional
valueValue of this choice. It will be used as answer of the question.
Using primitive type like string
or number
is recommended due to the limitation in comparing complex value.
Id will be used as value if you leave it undefined
.
Any values that help you determine on how to render the frontend UI or how to perform validation.