Skip to content

Create a RadioSet-like interface for checkbox groups #2379

@darrenburns

Description

@darrenburns

When using checkboxes in forms, they often appear in groups. I want to be able to say, “given this CheckboxSet, which options are currently active?”

Right now, to find this out, we'd have to do some DOM querying and it doesn't feel very ergonomic to work with.

RadioSet has a nice interface, where I can basically query for the RadioSet widget and ask find out which one is selected without having to worry about how things are structured in the DOM.

I think they work well when standalone, treated as a boolean - but are a little unwieldy when you have groups of them.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions