i-tech-shared-components 1.4.52 → 1.4.53

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.
@@ -774,6 +774,9 @@ class AutocompleteSelectComponent {
774
774
  this.isNeededForRecall = true;
775
775
  this.reCallData();
776
776
  }
777
+ else if (!newValue) {
778
+ this.resetVariables();
779
+ }
777
780
  });
778
781
  }
779
782
  hardReload() {
@@ -783,6 +786,9 @@ class AutocompleteSelectComponent {
783
786
  this.defaultValueForFirst = '';
784
787
  this.showingValue = null;
785
788
  this.defaultValue = null;
789
+ if (this.searchInput?.nativeElement) {
790
+ this.searchInput.nativeElement.value = '';
791
+ }
786
792
  }
787
793
  resetAllAndHardReload() {
788
794
  this.resetVariables();