defer loading of static combo options

fixes a bug where `multi/many/semiCombo` options are not selectable immediately after they were removed from a field, when the field does not use taginfo to fetch options
This commit is contained in:
Martin Raifer
2023-05-02 12:53:30 +02:00
parent 453fb424f1
commit 24e514fa99
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ export function uiFieldCombo(field, context) {
setTaginfoValues('', setPlaceholder);
} else {
selection.call(_combobox, attachTo);
setStaticValues(setPlaceholder);
setTimeout(() => setStaticValues(setPlaceholder), 0);
}
}