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

[Bug]: disabled checkboxes styling #2905

Closed
3 tasks done
tobiasBlaser opened this issue Jul 8, 2024 · 0 comments · Fixed by #2906 or #2907
Closed
3 tasks done

[Bug]: disabled checkboxes styling #2905

tobiasBlaser opened this issue Jul 8, 2024 · 0 comments · Fixed by #2906 or #2907
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@tobiasBlaser
Copy link

Preflight Checklist

Bug type

Other

It affects the following packages

Components

Which version of Lyne Components are you using

1.3.0

Operating system

Windows 10 / MacOS

Browser / Browser version

Chrome / Safari

Input mode

Mouse/Keyboard

Additional settings

No response

What happened?

I have a checkbox group with an for loop in it to generate checkboxes.
These checkboxes have a check that if there is only one checked checkbox left it should be disabled.
This works fine but if i check another checkbox the styling of the disabled one doesn't update (functionality works fine)

I found out that the following element still has the "disabled" property (the "disabled" property on the checkbox itself is correctly removed)
image

Steps to reproduce the issue

  1. Open the following url
    https://stackblitz.com/edit/stackblitz-starters-mfbq4h?file=angular.json
  2. Wait till the stackblitz loaded
  3. Uncheck two of the three checkboxes
  4. Select one of the unchecked ones again
  5. You should see that the previously disabled one still has the disabled styling but can be clicked again

Relevant log output

none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
Archived in project
2 participants