fix : remove mandatory diagnosa
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user