Javadoc resource link |
---|
rangeHigherVersion | 6.0 |
---|
className | info.magnolia.ui.form.field.definition.SelectFieldDefinition |
---|
renderType | asynchronous |
---|
|
renders a dropdown list.
Classclass: info.magnolia.ui.form.field.definition.SelectFieldDefinition
fieldType: select
Select field properties
...
Localtab Group |
---|
Localtab |
---|
| Code Block |
---|
| form:
tabs:
- name: tabLink
label: Link
fields:
- name: listStyle
classfieldType: info.magnolia.ui.form.field.definition.SelectFieldDefinitionselect
label: List style
options:
- name: bullet
value: bullet
selected: true
label: Bullet
- name: ordered
value: ordered
label: Ordered
- name: inline
value: inline
label: Inline
|
|
Localtab |
---|
| Advanced Tables - Table Plus |
---|
heading | 0 |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| Node name | Value |
---|
| |
| | |
| |
| |
| | |
| | |
| | |
| | Bullet | | true | | bullet | |
| | Ordered | | ordered | |
| | Inline | | inline | | selectinfo.magnolia.ui.form.field.definition.SelectFieldDefinition | | Link |
|
|
|
Include Page |
---|
| _referencing fields shortcut info |
---|
| _referencing fields shortcut info |
---|
|
You can use all common field properties and the following. Include Page |
---|
| DOCS56:_Common select field propertiesDOCS56: |
---|
| _Common select field properties |
---|
|
Properties specific to the select field.
textInputAllowed
| optional, default is false 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. |
filteringMode
| Vaadin FilteringMode . Default is off . Available values are: contains and startswith . To enable filtering, you must also: - Set the
pageLength property to a value greater than 0 . - Set the
textInputAllowed property to true .
|
pageLength
| optional, default is 0 To enable paging and filtering, value must be an integer > 0 . The 0 setting disables paging and filtering. |
Common field properties:
Include Page |
---|
| _Common field properties |
---|
| _Common field properties |
---|
|
Example: Filtered Select field
...
Localtab Group |
---|
Localtab |
---|
| Code Block |
---|
| form:
tabs:
- name: tabAddress
fields:
- name: country
classfieldType: info.magnolia.ui.form.field.definition.SelectFieldDefinitionselect
label: Country
filteringMode: startswith
pageLength: 10
textInputAllowed: true
options:
- name: afghanistan
value: afghanistan
- name: argentina
value: argentina
- name: australia
value: australia
- name: austria
value: austria
- name: belgium
value: belgium
- name: brazil
value: brazil
- name: bulgaria
value: bulgaria
- name: canada
value: canada
- name: chad
value: chad
- name: chile
value: chile
- name: china
value: china
- name: cuba
value: cuba
- name: czech-republic
value: czech-republic
- name: denmark
value: denmark
|
|
Localtab |
---|
| Advanced Tables - Table Plus |
---|
heading | 0 |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| Node name | Value |
---|
|
| |
| | |
| | |
| | |
| |
| |
| | afghanistan | |
| | argentina | |
| | australia | |
| | austria | |
| | belgium | | |
| | brazil | |
| | bulgaria | |
| | canada | | |
| | chad | | |
| | chile | | |
| | china | | |
| | cuba | |
| | czech-republic | | |
| | denmark | | selectinfo.magnolia.ui.form.field.definition.SelectFieldDefinition | | startswith | | 10 | | true |
|
|
|
...