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 2676 pre submit custom validation v1 #2830

Open
wants to merge 2 commits into
base: v1
Choose a base branch
from

Conversation

ehenighan
Copy link

Description

Separated 'should include in form submission' from 'should validate as part of form submission' to ensure custom validation hooks are still evaluated on unchecked checkboxes and radiogroups without a selection.

Corresponding issue: #2676

Testing

Tested manually using the replication sample attached to the ticket. Added automated tests without the fix to demonstrate the problem, and then restored the fix and checked that the failing tests now passed.

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants