diff --git a/client/src/components/NiceForm.vue b/client/src/components/NiceForm.vue index 7283446..71c0077 100644 --- a/client/src/components/NiceForm.vue +++ b/client/src/components/NiceForm.vue @@ -2,6 +2,7 @@ const props = defineModel<{ title: string + validationSchema: Record, sections: { title: string fields: { @@ -19,12 +20,12 @@ const props = defineModel<{ discard: () => void, }>(); -let { sections, submit, discard } = $(props); +let { sections, submit, discard, validationSchema } = $(props);