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

Fixed an issue with the connectors checkboxes not saving properly #5669

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

bdukes
Copy link
Contributor

@bdukes bdukes commented Jun 12, 2023

Fixes #5667

It appears the checked binding started returning undefined when unchecked (probably only alongside using the checkedValue binding) when we upgraded Knockout from 3.3.0 to 3.5.1.

I'm now using checkedValue: 'true' to set the value to a string when checked, and then falling back to the string 'false' if it's not 'true'.

Thanks @david-poindexter and @valadas for pointing in the right direction.

Copy link
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

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

Thank you so much @bdukes - this seems to do the trick!

@david-poindexter david-poindexter merged commit 76bf59b into dnnsoftware:develop Jun 12, 2023
@david-poindexter david-poindexter deleted the fix-connectors branch June 12, 2023 14:51
@valadas
Copy link
Contributor

valadas commented Jun 12, 2023

Thanks @bdukes this got us scratching our heads a bit :)

@valadas valadas changed the title Resolve connector checkbox saving Fixed an issue with the connectors checkboxes not saving properly Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug when saving analytics connector settings when Track for Administrators checkbox is unchecked
4 participants