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 think useForm or the form instance should return the values and errors when a field value changes. In my case I would like to disable a button if any field has error, and right now it's not possible since getFieldsError() will not always be updated on every render.
The text was updated successfully, but these errors were encountered:
I think useForm or the form instance should return the values and errors when a field value changes. In my case I would like to disable a button if any field has error, and right now it's not possible since getFieldsError() will not always be updated on every render.
Hello, getFieldsError() is a static method which not obliged to be reactive.
You should use another flow with useWatch hook.
Also, you can implement your own logic with getFieldsError().
I think
useForm
or the form instance should return the values and errors when a field value changes. In my case I would like to disable a button if any field has error, and right now it's not possible sincegetFieldsError()
will not always be updated on every render.The text was updated successfully, but these errors were encountered: