selectThe style select is rendered as a selection list or a dropdown where one or more options can be selected. The field items allows to specify the options in the selection list. Note that the field items is of type json and requires
value and text for each select optionIt is best to copy the example below and adapt the option names and values according to your requirements.
[{
"value":"1",
"text": "Item1"
},
{
"value":"2",
"text":"Item2"
},
{
"value":"3",
"text": "Item3"
}]
The field alt specifies the text that is displayed on the disabled option when no default value is defined.
The field live_search enables a search textbox where the items can be filtered.
Unknown Style styleSignature
If the field is_multiple is unchecked the selection list is rendered as a dropdown menu where only one option can be selected.
If the field value is left empty, a disabled option is rendered and selected which asks the user to choose a value. Otherwise the specified value is selected by default (if it exists) and the disabled option is omitted.
If the field is_multiple is checked the selection list is rendered as a list where multiple options can be selected.