Developers - UI Control
Dropdown
All our UI-controls require an array of name/value
-pairs, where name
is the shown value, and value
is the class to toggle. Some of the controls have an additional display
-property used to present custom CSS or icons.
The ui-dropdown
-control is a dropdown type control.
Recommended for long list options.
tip
If you want an option to be "none" (as in: no selection), set value
to pf-none
.
This tells our script to remove any of the other values from the array of values from the target DOM-node.