# Checkbox
# Basic usage
TIP
After submitting the form, the value of the checkbox is a string in the format of 11,22
.
Please use explode
or other methods to convert it into an array.
# Disable some options
# Button Style
# Option Array Rule
We have agreed on the option data used in the checkbox. Each option needs to have the following fields:
Field | Required | Type | Description |
---|---|---|---|
value | Required | int or string | The value of the option, which is finally passed to the form |
text | Required | string | Option is used to display the page |
prop | No Required | string | It is used to control certain features of a single option, eg: disabled , see API docs look more. |