mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Fix crash when multiselection has differing values in combo field
closes #9369
This commit is contained in:
+2
-3
@@ -40,13 +40,12 @@ _Breaking developer changes, which may affect downstream projects or sites that
|
||||
#### :sparkles: Usability & Accessibility
|
||||
#### :white_check_mark: Validation
|
||||
#### :bug: Bugfixes
|
||||
* Fix crash when performing a multiselection of objects with differing tags values in a combo field ([#9369])
|
||||
#### :hourglass: Performance
|
||||
#### :rocket: Presets
|
||||
#### :hammer: Development
|
||||
|
||||
[#xxxx]: https://github.com/openstreetmap/iD/issues/xxxx
|
||||
[#xxxx]: https://github.com/openstreetmap/iD/pull/xxxx
|
||||
[@xxxx]: https://github.com/xxxx
|
||||
[#9369]: https://github.com/openstreetmap/iD/issues/9369
|
||||
|
||||
|
||||
# 2.23.0
|
||||
|
||||
@@ -685,7 +685,9 @@ export function uiFieldCombo(field, context) {
|
||||
}
|
||||
});
|
||||
|
||||
updateIcon(tags[field.key]);
|
||||
if (!Array.isArray(tags[field.key])) {
|
||||
updateIcon(tags[field.key]);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user