diff --git a/apps/showcase/doc/slider/FormDoc.vue b/apps/showcase/doc/slider/FormDoc.vue new file mode 100644 index 000000000..e81c4328d --- /dev/null +++ b/apps/showcase/doc/slider/FormDoc.vue @@ -0,0 +1,130 @@ + + + Slider can be used with the PrimeVue Forms library. + + + + + + {{ $form.slider.errors[0]?.message }} + + + + + + + + diff --git a/apps/showcase/pages/slider/index.vue b/apps/showcase/pages/slider/index.vue index e56691459..ac5a8cf13 100755 --- a/apps/showcase/pages/slider/index.vue +++ b/apps/showcase/pages/slider/index.vue @@ -6,6 +6,7 @@ import AccessibilityDoc from '@/doc/slider/AccessibilityDoc.vue'; import BasicDoc from '@/doc/slider/BasicDoc.vue'; import FilterDoc from '@/doc/slider/FilterDoc.vue'; +import FormDoc from '@/doc/slider/FormDoc.vue'; import ImportDoc from '@/doc/slider/ImportDoc.vue'; import InputDoc from '@/doc/slider/InputDoc.vue'; import RangeDoc from '@/doc/slider/RangeDoc.vue'; @@ -28,6 +29,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'input', label: 'Input',
Slider can be used with the PrimeVue Forms library.