diff --git a/docs/src/routes/docs/create-form/index.tsx b/docs/src/routes/docs/create-form/index.tsx
index 9e2774a..c4a500e 100644
--- a/docs/src/routes/docs/create-form/index.tsx
+++ b/docs/src/routes/docs/create-form/index.tsx
@@ -29,7 +29,8 @@ const UseForm = () => {
["Name", "Type", "Description"],
["defaultValues", "Object", "Default values for the form."],
["mode", "string", "Validation strategy. Defaults to 'onChange'."],
- ["resolver", "Resolver", "Integrates with your preferred schema validation library."]
+ ["resolver", "Resolver", "Integrates with your preferred schema validation library."],
+ ["shouldFocusError", "boolean", "Enable or disable built-in focus management."]
]}
@@ -163,6 +164,31 @@ const ExampleForm = () => {
+
+
+
+ shouldFocusError
+
+
+
+
+ When set to true (default), and the user submits a form that fails validation, focus
+ is set on the first field with an error.
+
+ The focus order is based on the register order.
+