Browse Source

Fixed Entity key autocomplete change check

pull/15096/head
Maksym Tsymbarov 3 months ago
committed by Vladyslav Prykhodko
parent
commit
25dbfe5c9c
  1. 4
      ui-ngx/src/app/shared/components/entity/entity-key-autocomplete.component.ts

4
ui-ngx/src/app/shared/components/entity/entity-key-autocomplete.component.ts

@ -140,8 +140,10 @@ export class EntityKeyAutocompleteComponent implements ControlValueAccessor, Val
changes.dataKeyType.currentValue !== changes.dataKeyType.previousValue;
if (filterChanged || keyScopeChanged || keyTypeChanged) {
this.keyControl.setValue('', {emitEvent: false});
this.cachedResult = null;
if (!this.keyControl.disabled) {
this.keyControl.setValue('', {emitEvent: false});
}
}
}

Loading…
Cancel
Save