diff --git a/apps/showcase/doc/colorpicker/FormDoc.vue b/apps/showcase/doc/colorpicker/FormDoc.vue new file mode 100644 index 000000000..f9d4976b5 --- /dev/null +++ b/apps/showcase/doc/colorpicker/FormDoc.vue @@ -0,0 +1,130 @@ + + + ColorPicker can be used with the PrimeVue Forms library. + + + + + + {{ $form.colorpicker.errors[0]?.message }} + + + + + + + + diff --git a/apps/showcase/pages/colorpicker/index.vue b/apps/showcase/pages/colorpicker/index.vue index a609d2d47..9c106ee4d 100755 --- a/apps/showcase/pages/colorpicker/index.vue +++ b/apps/showcase/pages/colorpicker/index.vue @@ -6,6 +6,7 @@ import AccessibilityDoc from '@/doc/colorpicker/AccessibilityDoc.vue'; import BasicDoc from '@/doc/colorpicker/BasicDoc.vue'; import DisabledDoc from '@/doc/colorpicker/DisabledDoc.vue'; +import FormDoc from '@/doc/colorpicker/FormDoc.vue'; import FormatDoc from '@/doc/colorpicker/FormatDoc.vue'; import ImportDoc from '@/doc/colorpicker/ImportDoc.vue'; import InlineDoc from '@/doc/colorpicker/InlineDoc.vue'; @@ -26,6 +27,11 @@ export default { label: 'Basic', component: BasicDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'inline', label: 'Inline',
ColorPicker can be used with the PrimeVue Forms library.