diff --git a/src/components/lists/multi/checkbox.rs b/src/components/lists/multi/checkbox.rs index cf07dd0..7515b78 100644 --- a/src/components/lists/multi/checkbox.rs +++ b/src/components/lists/multi/checkbox.rs @@ -41,11 +41,11 @@ pub fn Checkbox( #[prop(into)] value: Signal, /// The name of the checkbox. This is used to group checkboxes together, so every checkbox /// in a group should have the same name. - #[prop(into)] name: String, + #[prop(into)] name: Signal, /// A [`Signal`] indicating whether the checkbox is disabled. #[prop(into)] disabled: Signal, ) -> impl IntoView { - let id = create_unique_id(&name, &value.get_untracked()); + let id = create_unique_id(&name.get(), &value.get_untracked()); view! {