diff --git a/app/components/app/person-relative/entry-form.vue b/app/components/app/person-relative/entry-form.vue index a679dddc..ed7e726f 100644 --- a/app/components/app/person-relative/entry-form.vue +++ b/app/components/app/person-relative/entry-form.vue @@ -3,14 +3,16 @@ import { toTypedSchema } from '@vee-validate/zod' import { FieldArray } from 'vee-validate' // components +import * as DE from '~/components/pub/my-ui/doc-entry' import { Form } from '~/components/pub/ui/form' -import InputBase from '~/components/pub/my-ui/form/input-base.vue' -import Label from '~/components/pub/my-ui/form/label.vue' import { SelectRelations } from './fields' +import InputBase from '~/components/pub/my-ui/form/input-base.vue' +import ButtonAction from '~/components/pub/my-ui/form/button-action.vue' const props = defineProps<{ title: string schema: any + isReadonly?: boolean initialValues?: any }>() @@ -23,6 +25,8 @@ defineExpose({ setValues: (values: any, shouldValidate = true) => formRef.value?.setValues(values, shouldValidate), values: computed(() => formRef.value?.values), }) + +const { title = 'Kontak Pasien', isReadonly = false } = props