Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Choice-cards] Component draft #865

Open
aweell opened this issue Mar 25, 2022 Discussed in #795 · 0 comments
Open

[Choice-cards] Component draft #865

aweell opened this issue Mar 25, 2022 Discussed in #795 · 0 comments

Comments

@aweell
Copy link
Collaborator

aweell commented Mar 25, 2022

Discussed in #795

Originally posted by aweell March 8, 2022

The problem

The current radio, checkbox, and radio group components only support a label as content, but there are some use cases where it's needed a mutually exclusive or inclusive selection for an entire group instead of a single element.

The proposal

This problem can be solved by having a card group whose selection can be mutually exclusive or inclusive (showing visually a checkbox or a radio as part of the card anatomy).

These cards work as a custom content container, allowing system users to group any needed content inside each card of the group.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant