Select
Basic usage
Option Group
Option Array Rule
We have agreed on the option data used in the radio. Each option needs to have the following fields.
Field | Required | Type | Description |
value | Required | int 或 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. |
Field | Required | Type | Description |
text | Required | string | group name |
children | Required | array | The array of options of group, each option is a normal Select Option |