diff --git a/apps/showcase/doc/multiselect/FormDoc.vue b/apps/showcase/doc/multiselect/FormDoc.vue new file mode 100644 index 000000000..550d5658a --- /dev/null +++ b/apps/showcase/doc/multiselect/FormDoc.vue @@ -0,0 +1,95 @@ + + + + + + + {{ $form.city.errors[0]?.message }} + + Submit + + + + + + diff --git a/apps/showcase/pages/cascadeselect/index.vue b/apps/showcase/pages/cascadeselect/index.vue index 962ffdf43..8c0242d7e 100644 --- a/apps/showcase/pages/cascadeselect/index.vue +++ b/apps/showcase/pages/cascadeselect/index.vue @@ -16,6 +16,7 @@ import BasicDoc from '@/doc/cascadeselect/BasicDoc.vue'; import DisabledDoc from '@/doc/cascadeselect/DisabledDoc.vue'; import FilledDoc from '@/doc/cascadeselect/FilledDoc.vue'; import FloatLabelDoc from '@/doc/cascadeselect/FloatLabelDoc.vue'; +import FormDoc from '@/doc/cascadeselect/FormDoc.vue'; import IftaLabelDoc from '@/doc/cascadeselect/IftaLabelDoc.vue'; import ImportDoc from '@/doc/cascadeselect/ImportDoc.vue'; import InvalidDoc from '@/doc/cascadeselect/InvalidDoc.vue'; @@ -38,6 +39,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'template', label: 'Template', diff --git a/apps/showcase/pages/multiselect/index.vue b/apps/showcase/pages/multiselect/index.vue index 3b2ca60ad..cb1669e3b 100755 --- a/apps/showcase/pages/multiselect/index.vue +++ b/apps/showcase/pages/multiselect/index.vue @@ -21,6 +21,7 @@ import FloatLabelDoc from '@/doc/multiselect/FloatLabelDoc.vue'; import GroupDoc from '@/doc/multiselect/GroupDoc.vue'; import IftaLabelDoc from '@/doc/multiselect/IftaLabelDoc.vue'; import ImportDoc from '@/doc/multiselect/ImportDoc.vue'; +import FormDoc from '@/doc/multiselect/FormDoc.vue'; import InvalidDoc from '@/doc/multiselect/InvalidDoc.vue'; import LoadingStateDoc from '@/doc/multiselect/LoadingStateDoc.vue'; import TemplateDoc from '@/doc/multiselect/TemplateDoc.vue'; @@ -42,6 +43,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'chips', label: 'Chips',