mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Merge pull request #5637 from openstreetmap/5618
fix autocomplete combobox bug
This commit is contained in:
@@ -341,7 +341,7 @@ export function uiCombobox(context, klass) {
|
||||
// Dispatches an 'accept' event if an option has been chosen.
|
||||
// Then hides the combobox.
|
||||
function accept(d) {
|
||||
d = d || _choice;
|
||||
d = d || _choice || value();
|
||||
if (d) {
|
||||
utilGetSetValue(input, d.value);
|
||||
utilTriggerEvent(input, 'change');
|
||||
|
||||
Reference in New Issue
Block a user