Skip to content

Radio button description update on radio button use #2945

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

Open
B3nz01d opened this issue Apr 4, 2025 · 2 comments
Open

Radio button description update on radio button use #2945

B3nz01d opened this issue Apr 4, 2025 · 2 comments
Assignees
Labels
⚛️ component 📖 documentation Improvements or additions to documentation

Comments

@B3nz01d
Copy link
Collaborator

B3nz01d commented Apr 4, 2025

in the Radio button documentation at the first component example it is showing on the same example:

  • the simple radio button, with only the label
  • the full radio button, with the label, additional text and helper text and the icon.

In a normal usage we do not recommend to regroup radio buttons with different structure, therefore this example is proposing something that should never happen.

We should instead in the documentation propose:

  • a display of 2 radio buttons with only the label
  • and on another separate example the 2 full radio buttons with all the options

@ Design team can you help provide a simple way to display the examples without showing unwanted associations?

@MaxLardenois
Copy link
Collaborator

MaxLardenois commented Apr 4, 2025

We could simply add some kind of simple separator like <br> between the two series of example or consider the "Additional label" paragraph sufficient?

@MaxLardenois
Copy link
Collaborator

Ok, after discussion with Maxime, we will always show 2 controls with the same configuration in all the examples, I will create a new issue for this as it will adress also Checkbox and Radio buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚛️ component 📖 documentation Improvements or additions to documentation
Projects
Development

No branches or pull requests

4 participants