fix : remove mandatory diagnosa

This commit is contained in:
2026-07-03 10:29:16 +07:00
parent 4d7e2b784f
commit 287d50f4d6
+4 -4
View File
@@ -167,10 +167,10 @@ export const usePendaftaranStore = defineStore('pendaftaran', {
}
// Validate diagnosis items - must have at least 1
if (this.diagnosisItems.length === 0) {
errors.push('Diagnosis (minimal 1 diagnosis harus diisi)');
if (!firstErrorField) firstErrorField = 'diagnosis';
}
// if (this.diagnosisItems.length === 0) {
// errors.push('Diagnosis (minimal 1 diagnosis harus diisi)');
// if (!firstErrorField) firstErrorField = 'diagnosis';
// }
// Validate tindakan items - must have at least 1
// if (this.tindakanItems.length === 0) {