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

Review formKey calculation for data validation cache #383

Closed

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.

None yet

2 participants