useForm should return field errors
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.
I think
useFormor 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.
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().