fix: create unique IDs for checkbox and radio lists

This commit is contained in:
alphafetus committed 2025-11-23 17:10:26 -05:00
1 parent c47ea1d86e
commit 37a7525336
6 files changed
+41 -9

No files matched your search

+13
View File
@@ -241,6 +241,19 @@ pub fn HomePage() -> impl IntoView {
data_map = expandable_react.data
/>
</Row>
<Row>
// Radio { data_member, label, items }
<RadioList
label="Town:"
items=vec!["Southbury", "Middlebury"]
.into_iter()
.map(|s| s.into())
.collect()
disabled=elements_disabled
data_member="town_too"
data_map = expandable_react.data
/>
</Row>
<Row>
// Checkbox { data_member, label, items }
<CheckboxList