diff --git a/apps/showcase/doc/inputtext/FormDoc.vue b/apps/showcase/doc/inputtext/FormDoc.vue new file mode 100644 index 000000000..dc1a422f6 --- /dev/null +++ b/apps/showcase/doc/inputtext/FormDoc.vue @@ -0,0 +1,98 @@ + + + InputText is used with the v-model property. + + + + + + {{ $form.username.errors[0]?.message }} + + + + {{ $form.email.errors[0]?.message }} + + Submit + + + + + + diff --git a/apps/showcase/pages/inputtext/index.vue b/apps/showcase/pages/inputtext/index.vue index 1b97e20fc..128e88085 100755 --- a/apps/showcase/pages/inputtext/index.vue +++ b/apps/showcase/pages/inputtext/index.vue @@ -8,6 +8,7 @@ import BasicDoc from '@/doc/inputtext/BasicDoc.vue'; import DisabledDoc from '@/doc/inputtext/DisabledDoc.vue'; import FilledDoc from '@/doc/inputtext/FilledDoc.vue'; import FloatLabelDoc from '@/doc/inputtext/FloatLabelDoc.vue'; +import FormDoc from '@/doc/inputtext/FormDoc.vue'; import HelpTextDoc from '@/doc/inputtext/HelpTextDoc.vue'; import IftaLabelDoc from '@/doc/inputtext/IftaLabelDoc.vue'; import ImportDoc from '@/doc/inputtext/ImportDoc.vue'; @@ -30,6 +31,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'filled', label: 'Filled',
InputText is used with the v-model property.