From 451a7c88df49730ec25fd69af34cf4b2e61a7dc5 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 21 Oct 2024 17:45:53 +0300 Subject: [PATCH] Checkbox and Select validation --- apps/showcase/doc/checkbox/FormDoc.vue | 106 +++++++++++++++++++++++ apps/showcase/doc/select/FormDoc.vue | 115 +++++++++++++++++++++++++ apps/showcase/pages/checkbox/index.vue | 6 ++ apps/showcase/pages/select/index.vue | 6 ++ 4 files changed, 233 insertions(+) create mode 100644 apps/showcase/doc/checkbox/FormDoc.vue create mode 100644 apps/showcase/doc/select/FormDoc.vue diff --git a/apps/showcase/doc/checkbox/FormDoc.vue b/apps/showcase/doc/checkbox/FormDoc.vue new file mode 100644 index 000000000..27470b991 --- /dev/null +++ b/apps/showcase/doc/checkbox/FormDoc.vue @@ -0,0 +1,106 @@ + + + diff --git a/apps/showcase/doc/select/FormDoc.vue b/apps/showcase/doc/select/FormDoc.vue new file mode 100644 index 000000000..0439ee568 --- /dev/null +++ b/apps/showcase/doc/select/FormDoc.vue @@ -0,0 +1,115 @@ + + + diff --git a/apps/showcase/pages/checkbox/index.vue b/apps/showcase/pages/checkbox/index.vue index 4206d8f5c..62dbfa1b7 100755 --- a/apps/showcase/pages/checkbox/index.vue +++ b/apps/showcase/pages/checkbox/index.vue @@ -16,6 +16,7 @@ import BasicDoc from '@/doc/checkbox/BasicDoc.vue'; import DisabledDoc from '@/doc/checkbox/DisabledDoc.vue'; import DynamicDoc from '@/doc/checkbox/DynamicDoc.vue'; import FilledDoc from '@/doc/checkbox/FilledDoc.vue'; +import FormDoc from '@/doc/checkbox/FormDoc.vue'; import GroupDoc from '@/doc/checkbox/GroupDoc.vue'; import ImportDoc from '@/doc/checkbox/ImportDoc.vue'; import IndeterminateDoc from '@/doc/checkbox/IndeterminateDoc.vue'; @@ -37,6 +38,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'indeterminate', label: 'Indeterminate', diff --git a/apps/showcase/pages/select/index.vue b/apps/showcase/pages/select/index.vue index 9706096c8..00f837737 100755 --- a/apps/showcase/pages/select/index.vue +++ b/apps/showcase/pages/select/index.vue @@ -12,6 +12,7 @@ import EditableDoc from '@/doc/select/EditableDoc.vue'; import FilledDoc from '@/doc/select/FilledDoc.vue'; import FilterDoc from '@/doc/select/FilterDoc.vue'; import FloatLabelDoc from '@/doc/select/FloatLabelDoc.vue'; +import FormDoc from '@/doc/select/FormDoc.vue'; import GroupDoc from '@/doc/select/GroupDoc.vue'; import IftaLabelDoc from '@/doc/select/IftaLabelDoc.vue'; import ImportDoc from '@/doc/select/ImportDoc.vue'; @@ -37,6 +38,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'checkmark', label: 'Checkmark',