impl Int
aria-selected="true"
class=class_list![
"thaw-combobox-option",
- ("thaw-combobox-option--selected", move || key.with_value(|key| combobox.is_selected(&key)))
+ ("thaw-combobox-option--selected", move || value.with_value(|value| combobox.is_selected(&value)))
]
- on:click=move |_| {
- key.with_value(|key| combobox.on_option_select(key));
- }
+ on:click=on_click
>
{
if combobox.multiselect {
view! {
-
+
}
}