The form this custom element belongs to, if any.
Predefined
An object which maps option values to displayed labels.
An array of identifiers which have been chosen.
The bound form data handler method
The name of the multi-select input element.
The name of the multi-select input element.
The values of the multi-select input are expressed as an array of strings.
The values of the multi-select input are expressed as an array of strings.
Activate the custom element when it is attached to the DOM.
Deactivate the custom element when it is detached from the DOM.
Mark a choice as selected.
The value to add to the chosen set
Mark a choice as un-selected.
The value to delete from the chosen set
Preserve existing
Create the HTML elements that should be included in this custom element. Elements are returned as an array of ordered children.
Refresh the active state of the custom element by reflecting changes to the _chosen set.
Activate event listeners which add dynamic behavior to the custom element.
Add the value of the custom element to processed FormData.
The "change" event is emitted when the values of the multi-select element are changed.
An abstract base class designed to standardize the behavior for a multi-select UI component. Multi-select components return an array of values as part of form submission. Different implementations may provide different experiences around how inputs are presented to the user.
change