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
| This configuration delays the display of error states to the end-user by a specified number of milliseconds. If the user corrects the error input, the error is removed instantly, and the delay is not applied. | <CodeSandboxurl="https://codesandbox.io/s/useform-delayerror-q6c2d"/> |
This example demonstrates how to use the **new `validate` API** in combination with `useForm` to perform **form-level validation** in a React application.
286
+
287
+
The `validate` function receives the entire form object and allows you to return a **structured error** that integrates with `formState.errors`.
0 commit comments