We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When you pass validateOnChange: true to a field's options, the field is not marked dirty when you change its value.
validateOnChange: true
To Reproduce Steps to reproduce the behavior:
validateOnChange
false
const emailField = field('email', '', [required(), email()], { validateOnChange: false })
dirty
true
Expected behavior The option validateOnChange should not affect the dirty check, only validation itself.
The text was updated successfully, but these errors were encountered:
chainlist
No branches or pull requests
Describe the bug
When you pass
validateOnChange: true
to a field's options, the field is not marked dirty when you change its value.To Reproduce
Steps to reproduce the behavior:
validateOnChange
tofalse
:dirty
never changes fromfalse
totrue
Expected behavior
The option
validateOnChange
should not affect thedirty
check, only validation itself.The text was updated successfully, but these errors were encountered: