-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Checkbox - add validation if no choice is selected #1316
Checkbox - add validation if no choice is selected #1316
Conversation
…e they were failing because of new validation logic
Codecov ReportAll modified lines are covered by tests ✅
... and 1 file with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Did a review pass and left you some comments. Let me know if you need more clairification!
…sts since they were failing because of new validation logic" This reverts commit 3b4e0e7.
…ible, fixed unit tests
FYI @SBoudrias, I started working on the second part of the issue (adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thanks for following up on all the comments. I'll get this merge ASAP
Closes #1257 (first part)
Adds validation logic for checkbox component that notifies the user if no choice has been selected and presses
enter
(enforces that at least one choice must be selected)Added unit test for new logic. Also needed to edit a few existing ones since they were failing because of this new feature.