Skip to content

Conversation

watery
Copy link
Contributor

@watery watery commented May 30, 2018

In a new user form having two checkboxes (one required and the other optional), I noticed that ticking one checkbox or the other at times bypassed the required field check, letting form submission — it must be noted that I'm working on a version with has #310 merged in.

This fix adds field names to the validation cache data, avoiding potentially equal field values to trigger misvalidations.

With equally valued fields, the same key could be produced leading to misvalidations from the cache
@jrivard
Copy link
Contributor

jrivard commented Jul 22, 2022

Fix added in commit ae9b3ea. Couldn't merge directly due to conflicts.

Sorry for the long delay (!)

@jrivard jrivard closed this Jul 22, 2022
@watery
Copy link
Contributor Author

watery commented Jul 22, 2022

@jrivard Cool!

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.

2 participants