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 for conditional logic on checkboxes #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisekelley
Copy link
Member

@chrisekelley chrisekelley commented Jul 29, 2020

In the bug, when the checkbox w/ the mutual exclusion property is selected, the tangy-form-item detects the change and the onCheckboxClick function is run again. The previouslySelectedMutuallyExclusiveOption value is set, and when it was setting the value it was setting it to '' instead of the previously set value.

Fixes #154

@rjcorwin
Copy link
Contributor

@chrisekelley Can we close this? Looking at the tests, this seems to break it.

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

Successfully merging this pull request may close these issues.

Selection for checkboxes with mutual exclusive property is being reset
2 participants