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

Label shouldn't be clickable when a value is not passed to the checkbox #1137

Open
tales-lima-brisa opened this issue Sep 6, 2024 · 4 comments

Comments

@tales-lima-brisa
Copy link

tales-lima-brisa commented Sep 6, 2024

Description

In "Checkbox type: with label", when the cursor hover over the label, the label is indicated as clickable, but when the user click it, the checkbox isn't marked.

Expected Behavior

Label shouldn't be clickable when a value is not passed to the checkbox and the user hover over it.

Screenshots

ION.checkbox.label.error.mp4
@danilo-moreira-brisa
Copy link
Contributor

@tales-lima-brisa
Copy link
Author

But why does the label continue to appear as clickable, when the parameter hasn't been send?

@danilo-moreira-brisa
Copy link
Contributor

It looks like an style issue. We can do the fix in this issue, but the expected behaviour on the description needs to be changed to "label shouldn't be clickable when a value is not passed to the checkbox".

@tales-lima-brisa tales-lima-brisa changed the title Checkbox with label isn't being marked when the user clicks in label. Label shouldn't be clickable when a value is not passed to the checkbox Sep 12, 2024
@tales-lima-brisa
Copy link
Author

Edited 👍

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

No branches or pull requests

2 participants