diff --git a/CHANGELOG.md b/CHANGELOG.md index 07a535371..dd1948fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,7 @@ _Breaking developer changes, which may affect downstream projects or sites that * Fix alignment of "notes" icon in sidebar ([#9018], thanks [@JackNUMBER]) * Fix comments in notes overflowing when hovering ([#9074], thanks [@aaditya0000]) * Don't render `railway=platform_edge` like train tracks ([#9142], thanks [@k-yle]) +* Fix leaking of localized tag values into raw tags by multiCombo fields ([#9164], thanks [@1ec5]) #### :rocket: Presets * Disable taginfo suggestions for the `via` field ([#9140], thanks [@k-yle]) * Treat `surface=chipseal` as a paved surface ([#9139], thanks [@k-yle]) @@ -71,6 +72,7 @@ _Breaking developer changes, which may affect downstream projects or sites that [#9140]: https://github.com/openstreetmap/iD/pull/9140 [#9142]: https://github.com/openstreetmap/iD/pull/9142 [#9157]: https://github.com/openstreetmap/iD/issues/9157 +[#9164]: https://github.com/openstreetmap/iD/issues/9164 [@furkanmutlu]: https://github.com/furkanmutlu [@JackNUMBER]: https://github.com/JackNUMBER [@aaditya0000]: https://github.com/aaditya0000 diff --git a/modules/ui/fields/combo.js b/modules/ui/fields/combo.js index fffc86d96..6f780c911 100644 --- a/modules/ui/fields/combo.js +++ b/modules/ui/fields/combo.js @@ -222,7 +222,7 @@ export function uiFieldCombo(field, context) { var label = field.t('options.' + k, { default: k }); return { key: k, - value: label, + value: _isMulti ? k : label, display: field.t.append('options.' + k, { default: k }), title: d.title || label, klass: field.hasTextForStringId('options.' + k) ? '' : 'raw-option'