[ui] only request options when selector focused
parent
a92d30a521
commit
3b423a2c59
|
@ -130,8 +130,10 @@
|
||||||
}
|
}
|
||||||
}, 200);
|
}, 200);
|
||||||
$: {
|
$: {
|
||||||
updateOptions(inputValue);
|
if (inputFocused) {
|
||||||
addressToLabels = {};
|
updateOptions(inputValue);
|
||||||
|
addressToLabels = {};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let addressToLabels: { [key: string]: string[] } = {};
|
let addressToLabels: { [key: string]: string[] } = {};
|
||||||
|
|
Loading…
Reference in New Issue