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

fix(NcCheckboxRadioSwitch): Make sure to include current value in cheched array #5150

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jan 26, 2024

☑️ Resolves

The checkbox sets are currently broken as the click even does not set the checked state anymore thus the wrong value is emitted (tab + space works).

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

…cked array

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added bug Something isn't working 3. to review Waiting for reviews labels Jan 26, 2024
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes make sense, will give it a test a bit later

ShGKme

This comment was marked as off-topic.

@susnux
Copy link
Contributor Author

susnux commented Jan 26, 2024

As native <input> is not changing natively, now we need to programmatically calculate new values

BTW I would prefer a native label but the firefox but...

@ShGKme
Copy link
Contributor

ShGKme commented Jan 26, 2024

Sorry, I was tied and missed that this is actually exactly the same explanation that @susnux already made in the PR description 🙈

@ShGKme ShGKme added the feature: checkbox-radio-switch Related to the checkbox-radio-switch component label Jan 26, 2024
@ShGKme ShGKme added this to the 8.5.1 milestone Jan 26, 2024
@susnux susnux merged commit 61a191f into master Jan 26, 2024
15 checks passed
@susnux susnux deleted the fix/nc-checkbox branch January 26, 2024 19:21
@susnux susnux mentioned this pull request Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: checkbox-radio-switch Related to the checkbox-radio-switch component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants