From 8cae5b70b5b32e74179789c53ab14807ea8f2592 Mon Sep 17 00:00:00 2001 From: Sadegh Barati Date: Tue, 19 Dec 2023 18:03:46 +0330 Subject: [PATCH] docs: fix checkbox and radio form examples add type="checkbox|radio" and name in FormField --- .../registry/default/example/CheckboxFormMultiple.vue | 10 +++------- .../registry/default/example/CheckboxFormSingle.vue | 2 +- .../lib/registry/default/example/RadioGroupForm.vue | 2 +- .../registry/new-york/example/CheckboxFormMultiple.vue | 10 +++------- .../registry/new-york/example/CheckboxFormSingle.vue | 2 +- .../lib/registry/new-york/example/RadioGroupForm.vue | 2 +- 6 files changed, 10 insertions(+), 18 deletions(-) diff --git a/apps/www/src/lib/registry/default/example/CheckboxFormMultiple.vue b/apps/www/src/lib/registry/default/example/CheckboxFormMultiple.vue index cba68c1d..641c719b 100644 --- a/apps/www/src/lib/registry/default/example/CheckboxFormMultiple.vue +++ b/apps/www/src/lib/registry/default/example/CheckboxFormMultiple.vue @@ -77,16 +77,12 @@ const onSubmit = handleSubmit((values) => { - - + + diff --git a/apps/www/src/lib/registry/default/example/CheckboxFormSingle.vue b/apps/www/src/lib/registry/default/example/CheckboxFormSingle.vue index 4cb8453a..43414195 100644 --- a/apps/www/src/lib/registry/default/example/CheckboxFormSingle.vue +++ b/apps/www/src/lib/registry/default/example/CheckboxFormSingle.vue @@ -37,7 +37,7 @@ const onSubmit = handleSubmit((values) => {