diff --git a/apps/showcase/doc/inputnumber/FormDoc.vue b/apps/showcase/doc/inputnumber/FormDoc.vue new file mode 100644 index 000000000..590b79653 --- /dev/null +++ b/apps/showcase/doc/inputnumber/FormDoc.vue @@ -0,0 +1,130 @@ + + + InputNumber can be used with the PrimeVue Forms library. + + + + + + {{ $form.number.errors[0]?.message }} + + + + + + + + diff --git a/apps/showcase/pages/inputnumber/index.vue b/apps/showcase/pages/inputnumber/index.vue index 1790b22f6..e70638882 100755 --- a/apps/showcase/pages/inputnumber/index.vue +++ b/apps/showcase/pages/inputnumber/index.vue @@ -17,6 +17,7 @@ import CurrencyDoc from '@/doc/inputnumber/CurrencyDoc.vue'; import DisabledDoc from '@/doc/inputnumber/DisabledDoc.vue'; import FilledDoc from '@/doc/inputnumber/FilledDoc.vue'; import FloatLabelDoc from '@/doc/inputnumber/FloatLabelDoc.vue'; +import FormDoc from '@/doc/inputnumber/FormDoc.vue'; import IftaLabelDoc from '@/doc/inputnumber/IftaLabelDoc.vue'; import ImportDoc from '@/doc/inputnumber/ImportDoc.vue'; import InvalidDoc from '@/doc/inputnumber/InvalidDoc.vue'; @@ -41,6 +42,11 @@ export default { label: 'Numerals', component: NumeralsDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'locale', label: 'Locale',
InputNumber can be used with the PrimeVue Forms library.