diff --git a/apps/showcase/doc/textarea/FormDoc.vue b/apps/showcase/doc/textarea/FormDoc.vue new file mode 100644 index 000000000..e4c874677 --- /dev/null +++ b/apps/showcase/doc/textarea/FormDoc.vue @@ -0,0 +1,130 @@ + + + Textarea can be used with the PrimeVue Forms library. + + + + + + {{ $form.textarea.errors[0]?.message }} + + + + + + + + diff --git a/apps/showcase/pages/textarea/index.vue b/apps/showcase/pages/textarea/index.vue index c1becb498..af0ae69ef 100755 --- a/apps/showcase/pages/textarea/index.vue +++ b/apps/showcase/pages/textarea/index.vue @@ -19,6 +19,7 @@ import FilledDoc from '@/doc/textarea/FilledDoc.vue'; import FloatLabelDoc from '@/doc/textarea/FloatLabelDoc.vue'; import IftaLabelDoc from '@/doc/textarea/IftaLabelDoc.vue'; import ImportDoc from '@/doc/textarea/ImportDoc.vue'; +import FormDoc from '@/doc/textarea/FormDoc.vue'; import InvalidDoc from '@/doc/textarea/InvalidDoc.vue'; import PTComponent from '@/doc/textarea/pt/index.vue'; import ThemingDoc from '@/doc/textarea/theming/index.vue'; @@ -37,6 +38,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'auto-resize', label: 'Auto Resize',
Textarea can be used with the PrimeVue Forms library.