diff --git a/content/src/content/docs/docs/schema/filters.mdx b/content/src/content/docs/docs/schema/filters.mdx index bb243e6c5..080375de5 100644 --- a/content/src/content/docs/docs/schema/filters.mdx +++ b/content/src/content/docs/docs/schema/filters.mdx @@ -151,7 +151,9 @@ Output: ## Specifying Error Paths -When validating forms or structured data, it's possible to associate specific error messages with particular fields or paths. This enhances error reporting and is especially useful when integrating with libraries like [react-hook-form](https://react-hook-form.com/). +When validating forms or structured data, it's possible to associate specific error messages with particular fields or paths, **including nested paths within complex objects**. This enhances error reporting and is especially useful when integrating with libraries like [react-hook-form](https://react-hook-form.com/). + +**Note**: To specify nested path in the `path` value: `["my", "nested", "path"]`. **Example** (Matching Passwords)