[ui] only request options when selector focused
parent
a92d30a521
commit
3b423a2c59
|
@ -130,9 +130,11 @@
|
||||||
}
|
}
|
||||||
}, 200);
|
}, 200);
|
||||||
$: {
|
$: {
|
||||||
|
if (inputFocused) {
|
||||||
updateOptions(inputValue);
|
updateOptions(inputValue);
|
||||||
addressToLabels = {};
|
addressToLabels = {};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let addressToLabels: { [key: string]: string[] } = {};
|
let addressToLabels: { [key: string]: string[] } = {};
|
||||||
function onAddressResolved(address: string, ev: CustomEvent<string[]>) {
|
function onAddressResolved(address: string, ev: CustomEvent<string[]>) {
|
||||||
|
|
Loading…
Reference in New Issue