Skip to main content

Module select

Module select 

Source
Expand description

A value-selecting combobox and its listbox, from select.css, on upstream’s fc-select model.

Focus never leaves the invoker: the highlighted option is conveyed with aria-activedescendant, so the control stays one tab stop and reads as a combobox. Escape restores the value in effect before the list opened; Enter, Space, a click, or Tab commits. Navigation, typeahead, and the committed value come from fc_select::Select, the same model upstream’s binding can run as WASM.

Re-exports§

pub use Select_completions::Component::Select;

Structs§

SelectChoice
One choice.
SelectProps
Properties for the Select component.

Functions§

Select
A combobox that opens a listbox of SelectChoices.