Annotation Interface MultiSelectDropdown
Renders a dropdown that opens a selectable list
When checkable = true which is the default multiple items can be selected and the
annotated field must be boolean[] indexed by option position
When checkable = false only one item can be selected and the annotated field must
be int holding the selected index or -1 for none
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated.booleanDeprecated.OneConfig auto-translates category values that are translation keys so pass the key directlybooleanWhen true which is the default it renders checkboxes for multi-select and when false a single-select listDeprecated.booleanDeprecated.OneConfig auto-translates description values that are translation keys so pass the key directlyString[]String[]Deprecated.booleanDeprecated.OneConfig auto-translates options values that are translation keys so pass the key directlyDeprecated.booleanDeprecated.translation keys will be translated by defaultDeprecated.booleanDeprecated.OneConfig auto-translates title values that are translation keys so pass the key directly
-
Element Details
-
title
String title -
titleTranslation
Deprecated.OneConfig auto-translates title values that are translation keys so pass the key directly- Default:
false
-
titleKey
Deprecated.- Default:
""
-
description
String description- Default:
""
-
descriptionTranslation
Deprecated.OneConfig auto-translates description values that are translation keys so pass the key directly- Default:
false
-
descriptionKey
Deprecated.- Default:
""
-
icon
String icon- Default:
""
-
category
String category- Default:
"General"
-
categoryTranslation
Deprecated.OneConfig auto-translates category values that are translation keys so pass the key directly- Default:
false
-
categoryKey
Deprecated.- Default:
""
-
subcategory
String subcategory- Default:
"General"
-
subcategoryTranslation
Deprecated.translation keys will be translated by default- Default:
false
-
subcategoryKey
Deprecated.- Default:
""
-
options
String[] options- Default:
{}
-
optionsTranslation
Deprecated.OneConfig auto-translates options values that are translation keys so pass the key directly- Default:
false
-
optionsKey
Deprecated.- Default:
{}
-
checkable
boolean checkableWhen true which is the default it renders checkboxes for multi-select and when false a single-select list- Default:
true
-