Commit Graph

4 Commits

Author SHA1 Message Date
Khafid Prayoga 32654b0b11 wip: ui fix layout
fix(patient-form): add error handling in patient submission and simplify family form

- Wrap patient submission in try-catch to show appropriate error messages
- Simplify family parents form by removing conditional rendering and adding disabled state
- Update form fields to use consistent labels and disable when not sharing family data

feat(family-form): improve family data form handling and UI

- Add edit mode detection to conditionally set default family data
- Restructure form fields display based on shareFamilyData value
- Show disabled placeholder fields when family data is not shared
2025-11-24 16:37:33 +07:00
Khafid Prayoga f3474eb0b5 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
2025-11-24 14:08:01 +07:00
Khafid Prayoga cd57dc6243 refactor(patient): rename entry component to add and clean up form error props
Remove FormErrors type imports and error props from all form components
Move content from entry.vue to add.vue with updated title styling
2025-11-24 12:03:53 +07:00
Muhammad Rifai 25d0091a19 Fix Dialog Consultation (#124) 2025-10-20 23:41:23 +07:00