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

Radio-button, Checkbox and Switch: align to web standards #1479

Open
tishoyanchev opened this issue Sep 18, 2024 · 0 comments · May be fixed by #1485
Open

Radio-button, Checkbox and Switch: align to web standards #1479

tishoyanchev opened this issue Sep 18, 2024 · 0 comments · May be fixed by #1485
Assignees
Labels
bug Something isn't working enhancement Adding a new feature or improving existing code

Comments

@tishoyanchev
Copy link
Contributor

tishoyanchev commented Sep 18, 2024

radio-button, checkbox and switch components have a value property instead of checked prop. Replace value with checked for on/off behavior, and introduce 'value' as a string.
In addition:
Two radio-buttons with the same name attribute do not toggle because the radio-button component is made up of

elements. The input element is missing.
Integrate the Input element following the example of the checkbox component, and make sure two radio-buttons with the same name toggle.

Related issue: #1476

@tishoyanchev tishoyanchev added bug Something isn't working enhancement Adding a new feature or improving existing code labels Sep 18, 2024
@tishoyanchev tishoyanchev changed the title radio-button: integrate input element Radio-button, Checkbox and Switch: align to web standards Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Adding a new feature or improving existing code
Projects
2 participants