Props & events
Attributes & behavior classes
aria-invalid marks a validation error; disabled on .select-trigger disables the whole control.
| Attribute / class | Purpose |
|---|---|
aria-haspopup="listbox" | Required on .select-trigger |
aria-expanded | Reflects open/closed state on the trigger |
aria-invalid="true" | Validation-error border on the trigger |
disabled | On .select-trigger — disables the whole control |
Events
Selecting an option updates the value, closes the listbox, returns focus, and fires a change event.
| Event | Description |
|---|---|
flick:change | Fired on selection, detail carries the chosen option's id. |