multiple-choice-checklist
Overview
multiple-choice-checklist allows users to select multiple options from a list.
Basic Example
<var name="contact_methods" type="multiple-choice">
<option key="email">Email</option>
<option key="sms">SMS</option>
<option key="Post">Post</option>
</var>
<multiple-choice-checklist label="Preferred Contact Method" bind="contact_methods" />
Standard Attributes
bind
bindbindlabel
labellabelrequired
requiredrequiredAdvanced Attributes
align-content
align-contentalign-contentalign-label
align-labelalign-labelcheckbox-position
checkbox-positionOptional
Type: left | right
Default: left
Specify where the checkbox is positioned in the component (relative to the option label).

disabled
disableddisabledid
ididlabel-case
label-caselabel-caselabel-color
label-colorlabel-colormode
modeOptional
Type: row | column
Default: column
Configure the layout of the list of check box options. row lists options horizontally; column lists options vertically.
modifier-text
modifier-textmodifier-texton-change
on-changeon-changeshow-if and hide-if
show-ifhide-ifshow-if and hide-ifComponent Methods
The following component methods are available when an id is assigned to the component and component.multipleChoiceChecklist({id:'my-id'}) is called from JS/TS:
clear
clearClear the selected option(s) of the multiple-choice-checklist.
scrollIntoView
scrollIntoViewProgrammatically scroll until the multiple-choice-checklist is visible in the view.
selectItem
selectItemSelect an item by its label of the list of options of the multiple-choice-checklist.
selectItemByIndex
selectItemByIndexSelect an item by its index of the list of options of the multiple-choice-checklist. Note: Indexes begin at 1.
Last updated