RED-7349 - Auto-search in dictionary editor should not interfere with user input
This commit is contained in:
parent
f578c0facb
commit
c1332b1ab1
@ -173,13 +173,13 @@ export class DictionaryManagerComponent implements OnChanges {
|
||||
|
||||
revert() {
|
||||
this.editor?.revert();
|
||||
this.searchText = '';
|
||||
this.searchChanged('');
|
||||
}
|
||||
|
||||
@Debounce()
|
||||
searchChanged(text: string) {
|
||||
this.searchText = text.toLowerCase();
|
||||
this.findMatches = this._getMatches(this.searchText);
|
||||
this.findMatches = this._getMatches(text.toLowerCase());
|
||||
this._applySearchDecorations();
|
||||
|
||||
this.currentMatch = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user