i-tech-shared-components 1.4.84 → 1.4.85-alpha.1778875410528
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.
|
@@ -762,6 +762,10 @@ class AutocompleteSelectComponent {
|
|
|
762
762
|
return this.selectConfig?.readOnly || this.ngControl?.control?.disabled || false;
|
|
763
763
|
}
|
|
764
764
|
ngOnChanges(changes) {
|
|
765
|
+
if (changes['defaultValueForFirst'] && this.defaultValueForFirst &&
|
|
766
|
+
this.ngControl?.control?.value && !this.showingValue) {
|
|
767
|
+
this.showingValue = this.defaultValueForFirst;
|
|
768
|
+
}
|
|
765
769
|
if (changes['selectConfig'] && this.selectConfig) {
|
|
766
770
|
if ((typeof this.selectConfig.paginate) === 'function') {
|
|
767
771
|
this.getData();
|