diff --git a/apps/showcase/doc/datepicker/FormDoc.vue b/apps/showcase/doc/datepicker/FormDoc.vue new file mode 100644 index 000000000..d5beb480d --- /dev/null +++ b/apps/showcase/doc/datepicker/FormDoc.vue @@ -0,0 +1,148 @@ + + + DatePicker can be used with the PrimeVue Forms library. + + + + + + {{ $form.date.errors[0]?.message }} + + + + + + + + diff --git a/apps/showcase/pages/datepicker/index.vue b/apps/showcase/pages/datepicker/index.vue index 5ab3252a7..bd08054a4 100755 --- a/apps/showcase/pages/datepicker/index.vue +++ b/apps/showcase/pages/datepicker/index.vue @@ -10,6 +10,7 @@ import DateTemplateDoc from '@/doc/datepicker/DateTemplateDoc.vue'; import DisabledDoc from '@/doc/datepicker/DisabledDoc.vue'; import FilledDoc from '@/doc/datepicker/FilledDoc.vue'; import FloatLabelDoc from '@/doc/datepicker/FloatLabelDoc.vue'; +import FormDoc from '@/doc/datepicker/FormDoc.vue'; import FormatDoc from '@/doc/datepicker/FormatDoc.vue'; import IconDoc from '@/doc/datepicker/IconDoc.vue'; import IftaLabelDoc from '@/doc/datepicker/IftaLabelDoc.vue'; @@ -41,6 +42,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'format', label: 'Format',
DatePicker can be used with the PrimeVue Forms library.