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
If form has required fields, validate() method should returns with error messages on first init. But it returns empty object.
I am trying to get form is valid or not on first load but i can not find any method to understand this. Therefore i am using validate() method but it works only if i trigger any input field on the form.
Steps to Reproduce
Create a form viewer with required text field.
Get errors with validate() method to understand if form is valid or not (without trigger any input)
now this happens
Expected Behavior
I think validate() method should return errors on first init without trigger any input field. Or if any method exists to understand, i will use it.
Environment
Chrome 124
OS: macOS Sonoma
Library version: 1.8.6
The text was updated successfully, but these errors were encountered:
If form has required fields, validate() method should returns with error messages on first init. But it returns empty object.
I am trying to get form is valid or not on first load but i can not find any method to understand this. Therefore i am using validate() method but it works only if i trigger any input field on the form.
Steps to Reproduce
Expected Behavior
I think validate() method should return errors on first init without trigger any input field. Or if any method exists to understand, i will use it.
Environment
The text was updated successfully, but these errors were encountered: