2193 - Chrome datalist hotfix
This commit is contained in:
parent
aba24292cf
commit
298e52e055
|
@ -14,6 +14,9 @@ export default class Datalist extends Textfield {
|
|||
|
||||
this.buildInput('text');
|
||||
this.input.setAttribute('autocomplete', 'off');
|
||||
this.input.addEventListener('blur', () => {
|
||||
console.log('focus out');
|
||||
});
|
||||
}
|
||||
|
||||
get field() {
|
||||
|
@ -258,7 +261,8 @@ export default class Datalist extends Textfield {
|
|||
fragment.appendChild(option);
|
||||
}
|
||||
|
||||
list.appendChild(fragment);
|
||||
this.$.$applyAsync(() =>
|
||||
list.appendChild(fragment));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue