fix: create unique IDs for checkbox and radio lists
This commit is contained in:
1 parent
c47ea1d86e
commit
37a7525336
6 files changed
+41
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user