diff --git a/apps/showcase/doc/treeselect/FormDoc.vue b/apps/showcase/doc/treeselect/FormDoc.vue new file mode 100644 index 000000000..b43c94159 --- /dev/null +++ b/apps/showcase/doc/treeselect/FormDoc.vue @@ -0,0 +1,138 @@ + + + TreeSelect is used with the v-model property. + + + + + + {{ $form.node.errors[0]?.message }} + + + + + + + + diff --git a/apps/showcase/pages/treeselect/index.vue b/apps/showcase/pages/treeselect/index.vue index 82c0e1102..bfb6ac6b6 100644 --- a/apps/showcase/pages/treeselect/index.vue +++ b/apps/showcase/pages/treeselect/index.vue @@ -18,6 +18,7 @@ import DisabledDoc from '@/doc/treeselect/DisabledDoc.vue'; import FilledDoc from '@/doc/treeselect/FilledDoc.vue'; import FilterDoc from '@/doc/treeselect/FilterDoc.vue'; import FloatLabelDoc from '@/doc/treeselect/FloatLabelDoc.vue'; +import FormDoc from '@/doc/treeselect/FormDoc.vue'; import IftaLabelDoc from '@/doc/treeselect/IftaLabelDoc.vue'; import ImportDoc from '@/doc/treeselect/ImportDoc.vue'; import InvalidDoc from '@/doc/treeselect/InvalidDoc.vue'; @@ -41,6 +42,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'multiple', label: 'Multiple',
TreeSelect is used with the v-model property.