diff --git a/apps/showcase/doc/radiobutton/FormDoc.vue b/apps/showcase/doc/radiobutton/FormDoc.vue new file mode 100644 index 000000000..a8407a6f0 --- /dev/null +++ b/apps/showcase/doc/radiobutton/FormDoc.vue @@ -0,0 +1,190 @@ + + + RadioButton can be used with the PrimeVue Forms library. + + + + + + + Cheese + + + + Mushroom + + + + Pepper + + + + Onion + + + {{ $form.radiobutton.errors[0]?.message }} + + + + + + + diff --git a/apps/showcase/pages/radiobutton/index.vue b/apps/showcase/pages/radiobutton/index.vue index 366c279b6..7f1c9e402 100755 --- a/apps/showcase/pages/radiobutton/index.vue +++ b/apps/showcase/pages/radiobutton/index.vue @@ -15,6 +15,7 @@ import AccessibilityDoc from '@/doc/radiobutton/AccessibilityDoc.vue'; import DisabledDoc from '@/doc/radiobutton/DisabledDoc.vue'; import DynamicDoc from '@/doc/radiobutton/DynamicDoc.vue'; import FilledDoc from '@/doc/radiobutton/FilledDoc.vue'; +import FormDoc from '@/doc/radiobutton/FormDoc.vue'; import GroupDoc from '@/doc/radiobutton/GroupDoc.vue'; import ImportDoc from '@/doc/radiobutton/ImportDoc.vue'; import InvalidDoc from '@/doc/radiobutton/InvalidDoc.vue'; @@ -35,6 +36,11 @@ export default { label: 'Group', component: GroupDoc }, + { + id: 'form', + label: 'Form', + component: FormDoc + }, { id: 'dynamic', label: 'Dynamic',
RadioButton can be used with the PrimeVue Forms library.