mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
fix regression: labels are not rendered in multi/semiCombo chips
regression was in 479586be37
This commit is contained in:
@@ -149,7 +149,7 @@ export function uiFieldCombo(field, context) {
|
||||
var stringsField = field.resolveReference('stringsCrossReference');
|
||||
const labelId = getLabelId(stringsField, tval);
|
||||
if (stringsField.hasTextForStringId(labelId)) {
|
||||
return stringsField.t(labelId, { default: tval });
|
||||
return stringsField.t.append(labelId, { default: tval });
|
||||
}
|
||||
|
||||
if (field.type === 'typeCombo' && tval.toLowerCase() === 'yes') {
|
||||
|
||||
Reference in New Issue
Block a user