-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update Guidance for RadioButtonGroup #4066
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny comments but let's not let it hold up moving forward with the PR.
Co-authored-by: Taylor Seamans <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a minor comment, but I believe once that is clarified we can merge. This was supposed to be a "quick fix" and the main issue (the filtering scenario) is now clearly explained.
@@ -29,9 +29,11 @@ import { | |||
|
|||
### When to use | |||
|
|||
RadioButtonGroup is used to lay out a discreet list of mutually related options that are easily visible. RadioButtonGroup requires an input choice, so it is important to be clear with what is being asked of the user on the label. | |||
RadioButtonGroup is used to lay out a list of distinct, mutually exclusive options that are easily visible. Since a selection is required, it’s important to be clear with what is being asked of the user on the label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am guessing the phrase "since a selection is required" means "once an option is selected, it does not allow for deselection" so I would suggest:
Once an option is selected it does not allow for deselection, so it’s important to be clear with what is being asked of the user on the label.
@luketa8 is this the right interpretation?
Deploy Preview
Issue
What does this PR do?
Update guidance for RadioButtonGroup clarifying its usage for filtering
Where should the reviewer start?
Clear selection discovery
Clear selection Figma