html.form.field.BaseEditableField | +-- html.form.field.BaseVectorValueField | +-- html.form.field.MultiChoiceField
A form editor that allows to choose several values among a finite list.
This can be rendered either as a list of checkboxes (default) or a multi-selection list.
Supported value types are: int[]
, java.lang.Integer[]
, enum[]
or java.lang.String[]
Attributes | ||
optional
enums.MultiChoiceType |
Type |
The field display style. Default: CheckBoxes. |
optional
int
|
ListSize |
Defines the height of the list (for display style List only). Default: 8; |
Named Children Elements | ||
mandatory
binding.Expression |
Label |
The displayed field label. |
optional
binding.Expression |
Tip |
A tip (information) associated to the field. |
optional
binding.Expression |
Visible |
Determines whether this field is visible. Default: true. |
optional
binding.Expression |
Editable |
Determines whether this field is editable. Default: true. |
0 - unbounded
html.menu.IMenuItem[] |
FieldButtons |
Buttons displayed right next to the form field. |
mandatory
binding.Expression |
Bind |
The binding to get and set the associated values. |
mandatory
html.item.IItemsProvider |
Items |
The component that defines all choice items. |
optional
binding.Expression |
OnChange |
Callback to trigger when the selection changes (causes the form to reload). Should be used to implement dynamic form fields. |