-
Notifications
You must be signed in to change notification settings - Fork 90
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
Undefined error message #127
Comments
could you please provide some example? https://codesandbox.io/s/just-validate-template-jrv65?file=/index.html Seems it should work fine https://just-validate.dev/examples#manually-added-errors |
I have this code in registration form class for validation
In register method I make AJAX request and render errors from backend like this
But frontend validation breaks |
It's better to call
|
It does not work, only calling |
So, when I try to show errors messages from backend under input after AJAX request by using
showErrors
method, it renders message correctly, but then I change any input in form and this message changes to "undefined" like string. I found a solution in usingresresh
method beforeshowErrors
, but should it work like that?The text was updated successfully, but these errors were encountered: