mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
hide carret when options exhausted also for comboboxes w/ static values
This commit is contained in:
@@ -210,6 +210,10 @@ export function uiFieldCombo(field, context) {
|
||||
|
||||
_comboData = objectDifference(_comboData, _multiData);
|
||||
_combobox.data(_comboData);
|
||||
|
||||
// hide the caret if there are no suggestions
|
||||
_container.classed('empty-combobox', _comboData.length === 0);
|
||||
|
||||
if (callback) callback(_comboData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user