The Selectboxes component
Define a group of checkboxes in the form. This is similar to the Radio component, but allows for multiple selections at the same time.
In addition to the properties and methods listed below, this component inherits properties and methods from the superclass
Component. For example, any Selectboxes component has a
defaultValue property even though these are not explicitly listed here.
|values||Specifies the options the user can choose from. Must be an array of values where each item has the following fields:||Struct/dict|
|inline||If set to true, layout the checkboxes horizontally instead of vertically.||Boolean||False|
|labelPosition||Position of the label with respect to the select boxes. Can be ||String|
|optionsLabelPosition||Position of the text of every option with respect to the checkboxes. Can be ||String|
|setValues||Set the labels and accompanying values (keys). All values must be valid variable names. This sets the |
The selectable options can be changed "after initialization" as well, as described in How to.
- Use the triggerHappy functionality to trigger an event whenever the value of the Selectboxes component is changed by the user.
- Use the Radio to only allow for one selection.
- Change the options of a Selectboxes component after initialization as described in How to.