diff --git a/apps/showcase/doc/listbox/FormDoc.vue b/apps/showcase/doc/listbox/FormDoc.vue new file mode 100644 index 000000000..f66a2ba05 --- /dev/null +++ b/apps/showcase/doc/listbox/FormDoc.vue @@ -0,0 +1,159 @@ + + + Listbox can be used with the PrimeVue Forms library. + + + + + + {{ $form.city.errors[0]?.message }} + + + + + + + + diff --git a/apps/showcase/pages/listbox/index.vue b/apps/showcase/pages/listbox/index.vue index 4a344c3f2..ed5151c8c 100755 --- a/apps/showcase/pages/listbox/index.vue +++ b/apps/showcase/pages/listbox/index.vue @@ -8,6 +8,7 @@ import BasicDoc from '@/doc/listbox/BasicDoc.vue'; import CheckmarkDoc from '@/doc/listbox/CheckmarkDoc.vue'; import DisabledDoc from '@/doc/listbox/DisabledDoc.vue'; import FilterDoc from '@/doc/listbox/FilterDoc.vue'; +import FormDoc from '@/doc/listbox/FormDoc.vue'; import GroupDoc from '@/doc/listbox/GroupDoc.vue'; import ImportDoc from '@/doc/listbox/ImportDoc.vue'; import InvalidDoc from '@/doc/listbox/InvalidDoc.vue'; @@ -31,6 +32,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'checkmark', label: 'Checkmark',
Listbox can be used with the PrimeVue Forms library.