[DE] Fix Bug 51925

This commit is contained in:
Julia Radzhabova 2021-08-17 22:12:29 +03:00
parent 1efc9a34f8
commit 7f0c53fb91

View file

@ -747,7 +747,7 @@ define([
rec = (this._state.listValue!==undefined) ? this.list.store.findWhere({value: this._state.listValue}) : this.list.store.at(this._state.listIndex);
}
if (rec) {
this.list.selectRecord(rec);
this.list.selectRecord(rec, this.txtNewValue._input.is(':focus'));
this.list.scrollToRecord(rec);
} else if (!this.txtNewValue._input.is(':focus')) {
this.txtNewValue.setValue('');