Show global label if selected in searchable domain selector (#7985)

This commit is contained in:
Alex
2026-05-22 15:05:47 -07:00
committed by GitHub
parent b6c8e893a8
commit e0d47a962d
+3
View File
@@ -842,6 +842,9 @@
if (selected_option && selected_option.value !== '') {
return selected_option.text || selected_option.innerText || '';
}
if (selected_option && selected_option.value === '' && selected_option.innerText == '{/literal}{$text.label_global}{literal}') {
return selected_option.text || selected_option.innerText || '';
}
}
return '';
}