cat-documents-ng 0.5.10 → 0.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3628,6 +3628,8 @@ class DocumentUploadComponent {
3628
3628
  this.filteredApplicantList = [];
3629
3629
  this.categoryOptions = [];
3630
3630
  this.documentTypeOptions = [];
3631
+ // Emit save button disabled state after form reset to update parent component
3632
+ this.getSaveButtonDisabled();
3631
3633
  this.cdr.detectChanges();
3632
3634
  }
3633
3635
  /**
@@ -3696,6 +3698,8 @@ class DocumentUploadComponent {
3696
3698
  handleUploadSuccess(response) {
3697
3699
  this.isSaving = false;
3698
3700
  this.resetForm();
3701
+ // Emit save button disabled state after successful upload to update parent component
3702
+ this.getSaveButtonDisabled();
3699
3703
  this.onUploadSuccess.emit();
3700
3704
  }
3701
3705
  /**