[SSE] Fix Bug 42064

This commit is contained in:
Julia Radzhabova 2019-07-12 10:20:08 +03:00
parent 931f01cdd2
commit 4b228f350b

View file

@ -319,20 +319,20 @@ define([
event.stopPropagation();
}
charVal = String.fromCharCode(e.keyCode);
charVal = e.key;
if (e.keyCode > 64 && e.keyCode < 91 && charVal && charVal.length) {
charVal = charVal.toLocaleLowerCase();
selectRecord = this.store.findWhere({selected: true});
if (selectRecord) {
value = selectRecord.get('value');
isEqualSelectRecord = (value && value.length && value[0] === charVal)
isEqualSelectRecord = (value && value.length && value[0].toLocaleLowerCase() === charVal)
}
for (i = 0; i < this.store.length; ++i) {
record = this.store.at(i);
value = record.get('value');
if (value[0] === charVal) {
if (value[0].toLocaleLowerCase() === charVal) {
if (null === firstRecord) firstRecord = record;