|
|
|
@ -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}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|