From c1f0c0cb8110cd0b834d3419fcc56c3be1e04012 Mon Sep 17 00:00:00 2001 From: Lucas Vas Date: Tue, 13 Jan 2026 15:52:15 -0500 Subject: [PATCH 1/4] fix: add hydration effect to selectable lists --- src/components/lists/multi/checkbox.rs | 8 +++--- src/components/lists/multi/chips.rs | 8 +++--- src/components/lists/multi/utils.rs | 39 +++++++++++++++++--------- 3 files changed, 34 insertions(+), 21 deletions(-) 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! {