mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-01 04:31:36 +02:00
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:
@@ -167,7 +167,7 @@ export function uiFieldCombo(field, context) {
|
||||
setTaginfoValues('', setPlaceholder);
|
||||
} else {
|
||||
selection.call(_combobox, attachTo);
|
||||
setStaticValues(setPlaceholder);
|
||||
setTimeout(() => setStaticValues(setPlaceholder), 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user