From 2891dd2a155d7f564a536e910308f4b91817bd28 Mon Sep 17 00:00:00 2001 From: zernonia Date: Wed, 24 Apr 2024 09:10:04 +0800 Subject: [PATCH] docs: fix link --- apps/www/src/content/docs/components/auto-form.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/www/src/content/docs/components/auto-form.md b/apps/www/src/content/docs/components/auto-form.md index e240b4a8..49913db2 100644 --- a/apps/www/src/content/docs/components/auto-form.md +++ b/apps/www/src/content/docs/components/auto-form.md @@ -64,7 +64,7 @@ const formSchema = z.object({ }) ``` -You can also configure the label +You can also configure the label with [`fieldConfig`](#label) too. ### Optional fields @@ -210,7 +210,7 @@ As zod doesn't allow adding other properties to the schema, you can use the `fie ### Label -You can use the `label` property to customize label if you want to overwrite the pre-defined label via [Zod's description](http://localhost:5173/docs/components/auto-form.html#descriptions). +You can use the `label` property to customize label if you want to overwrite the pre-defined label via [Zod's description](#descriptions). ```vue