fix: tag input target in chrome
This commit is contained in:
parent
4901fc2fe9
commit
de8a5f1c00
@ -314,7 +314,7 @@ export class TagInput extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private onInput = debounce(200)(async (e: InputEvent) => {
|
private onInput = debounce(200)(async (e: InputEvent) => {
|
||||||
const input = (e as any).originalTarget as HTMLInputElement;
|
const input = this.input!;
|
||||||
this.inputValue = input.value;
|
this.inputValue = input.value;
|
||||||
if (input.value.length) {
|
if (input.value.length) {
|
||||||
this.dropdownIsOpen = true;
|
this.dropdownIsOpen = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user