refactor(patient-contact): improve contact form components and validation

- Remove hardcoded contact limit and use prop instead
- Add ButtonAction component to form exports
- Enhance contact schema validation with better error messages
- Refactor contact type select component to use doc-entry components
- Improve form layout and consistency between contact and relative forms
This commit is contained in:
Khafid Prayoga
2025-11-24 14:08:01 +07:00
parent 96a7ada059
commit f3474eb0b5
6 changed files with 87 additions and 92 deletions
-1
View File
@@ -303,7 +303,6 @@ watch(
<AppPersonContactEntryForm
ref="personContactForm"
title="Kontak Pasien"
:contact-limit="10"
:schema="PersonContactListSchema"
/>
<AppPersonRelativeEntryForm