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

Multi-input validation fails to update when there are multiple rules #1348

Open
js-modernary opened this issue May 9, 2024 · 0 comments
Open
Assignees
Labels
🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue

Comments

@js-modernary
Copy link

Reproduction

https://formkit.link/64bc3b991e36b077d11cbd111e71118b

Describe the bug

This is a 1.6.x issue. If you switch to 1.5.x in the playground, everything works as it should. https://formkit.link/64bc3b991e36b077d11cbd111e71118b

If you have a multi-input validation as well as some other validation, it will work correctly when the page initially loads (as seen where it rejects the duplicate values in the two fields with "b"). But, if you change one of the fields with "b" to "c" (which makes everything valid), and then change that same field back to "b", the other invalid field will not show as invalid. It's also possible to get into a state where both of the "b" fields show an error, but changing the value of one of them to "c" does not resolve the error for both fields.

Thanks for all that you guys do! 👍

Environment

• OS: Windows
• Browser: Chrome, Brave
• Version: 1.6.x

@js-modernary js-modernary added ⛑ Needs triage The issue has not yet been examined by the FormKit team. 🐛 bug-report Bug is reported, but not verified by team labels May 9, 2024
@sashamilenkovic sashamilenkovic added 🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue and removed 🐛 bug-report Bug is reported, but not verified by team ⛑ Needs triage The issue has not yet been examined by the FormKit team. labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue
Projects
None yet
Development

No branches or pull requests

3 participants