mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
761 B
761 B
Combobox
let selected_options = RwSignal::new(vec![]);
view! {
<Combobox selected_options>
<ComboboxOption value="cat" text="Car" />
<ComboboxOption value="dog" text="Dog" />
</Combobox>
}
Clearable
let selected_options = RwSignal::new(vec![]);
view! {
<Combobox selected_options multiselect=true clearable=true>
<ComboboxOption value="cat" text="Car" />
<ComboboxOption value="dog" text="Dog" />
</Combobox>
}
Multiselect
let selected_options = RwSignal::new(vec![]);
view! {
<Combobox selected_options multiselect=true>
<ComboboxOption value="cat" text="Car" />
<ComboboxOption value="dog" text="Dog" />
</Combobox>
}