Skip to main content

Module multiselect

Module multiselect 

Source
Expand description

A disclosure of checkboxes with filtering and bulk actions, from multiselect.css. A port of upstream’s multiselect.ts.

Re-exports§

pub use MultiSelect_completions::Component::MultiSelect;

Structs§

MultiOption
One choice.
MultiSelectProps
Properties for the MultiSelect component.

Functions§

MultiSelect
Native checkboxes in a <details>, so choosing and form submission work without script; filtering, bulk actions, and the summary are added on top. Escape closes the panel and returns focus to its summary.
default_summary
The summary upstream shows by default: “None selected” or “n selected”.
matches
Which options a filter query keeps, by case-insensitive substring of their text, as upstream’s filter does.