Property | Description | Default value |
---|
options
| Parent node for the selectable options. | |
name
| Name of the node where the selected value is stored. If not set, the name of the parent node is used. Optional. | Parent node name |
value
| Value saved to the repository when selected. Mandatory. | |
label
| The option label displayed to the user. Optional. | |
selected
| Pre-selects the option. Optional. | |
path
| Path to an existing option set as opposed to defining options in the current definition. Optional. | |
repository
| When using a path to an existing option set, workspace to look in. Optional. | config
|
valueProperty
| Read option values from a different property. Set to the name of your custom value node. | value
|
labelProperty
| Read option labels from a different property. Set to the name of your custom label node. | label
|
textInputAllowed
| When true , the user can type into the select field to filter the available options. The filteringMode property defines how the options are filtered: contains or starts with. When false , the field behaves like a standard select field where the user can not enter text. Clicking the field opens the dropdown with options. This property does not make it possible to enter new values into the field. The user can only choose from existing options. | false
|
filteringMode
| Vaadin FilteringMode . Default is 0 (off). Available values are: 1 (contains) and 2 (starts with). if pageLength == 0 , filtering is ignored | 0
| = off |
sortOptions
| By default, option labels are sorted alphabetically. When set to false , sorts sorts the options per JCR node order. | true
| textInputAllowed | If text input is not allowed, the ComboBox behaves like a pretty NativeSelect - the user can not enter any text and clicking the text field opens the drop down with options. | false |
pageLength | To enable paging and filtering, value must be an integer > 0. 0 disables paging and filtering. | 0 |