select
This is a HTML select
& option
selection list field. You can only select one item.
Special properties of field
Property | Default | Accepted values | Description |
| none |
| List of items. It can be an array with items, or a |
| {} |
| Settings to select component. See details below. |
selectOptions
selectOptions
Property | Default | Accepted values | Description |
|
|
| Change the text for the no selection option. |
|
|
| Hide the noneSelected item |
|
|
| Used to select any properties from object in |
|
|
| Used to select any properties from object in |
Usage
Select field with array of strings:
If you select the first item, the value
will be "Personal"
in the model.
Select field with object items:
If you select the second item, the value
will be "en-US"
in the model.
Creating an <optgroup>
with Select field:
<optgroup>
with Select field:Last updated