diff --git a/css/80_app.css b/css/80_app.css index afb79aa9a..25e038d98 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -2359,6 +2359,9 @@ button.raw-tag-option svg.icon { [dir='rtl'] .tag-row input.value { border-left: 1px solid #ccc; } +.tag-row input.value.conflicting::placeholder { + font-style: italic; +} .tag-row:first-child input.key { border-top: 1px solid #ccc; diff --git a/modules/ui/raw_tag_editor.js b/modules/ui/raw_tag_editor.js index abbef1108..b8aa43ea7 100644 --- a/modules/ui/raw_tag_editor.js +++ b/modules/ui/raw_tag_editor.js @@ -285,6 +285,9 @@ export function uiRawTagEditor(context) { .attr('title', function(d) { return typeof d.value === 'string' ? d.value : Array.from(_keyValues[d.key]).sort().join('; '); }) + .classed('conflicting', function(d) { + return typeof d.value !== 'string'; + }) .attr('placeholder', function(d) { return typeof d.value === 'string' ? null : t('inspector.multiple_values'); })