mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 17:14:04 +02:00
fix rendering of chip labels in localizable multiCombo fields
closes #9169
This commit is contained in:
@@ -546,10 +546,12 @@ export function uiFieldCombo(field, context) {
|
||||
}
|
||||
|
||||
chips.select('span').each(function(d) {
|
||||
const selection = d3_select(this);
|
||||
if (d.display) {
|
||||
d.display(d3_select(this));
|
||||
selection.text('');
|
||||
d.display(selection);
|
||||
} else {
|
||||
d3_select(this).text(d.value);
|
||||
selection.text(d.value);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user