Select

Base select component for dropdown selection controls.

Properties

NameTypeDefaultDescription
valueString''The selected value.
displayValueString''The display text for the selected value.
placeholderString''Placeholder text when no value is selected.
openBooleanfalseWhether the dropdown menu is open.
requiredBooleanfalseWhether a selection is required for form submission.
disabledBooleanfalseWhether the select is disabled (inherited from FormAssociated).

Events

NameTypeDescription
changeEventFired when the selected value has changed.
inputEventFired when the selected value has changed.
selectEventFired when a menu item has been selected.

Methods

Inherits all standard HTMLElement methods.