You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out the small issue which is if I don't specific the "id" attribute for input field, the errors object will be returned with wrong format. The length of the errors object will always return 1 even if more than 1 errors for this validator. And all the error messages will be added to the first error.messages array.
i.e
I have 6 required input fields with only specify "name" attribute but not "id" attribute. When I submit the
errors object return
{
length: 1
messages: Array[6] { /* include all error messages */}
}
Solution:
Please add the "id" attribute to the documentation... or modify the code make it work without id attribute
Thanks,
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for your great work.
I found out the small issue which is if I don't specific the "id" attribute for input field, the errors object will be returned with wrong format. The length of the errors object will always return 1 even if more than 1 errors for this validator. And all the error messages will be added to the first error.messages array.
i.e
I have 6 required input fields with only specify "name" attribute but not "id" attribute. When I submit the
errors object return
{
length: 1
messages: Array[6] { /* include all error messages */}
}
Solution:
Please add the "id" attribute to the documentation... or modify the code make it work without id attribute
Thanks,
The text was updated successfully, but these errors were encountered: