don't split values in semiCombo fields split with , in descriptions

fixes #9471
This commit is contained in:
Martin Raifer
2023-01-18 19:10:09 +01:00
parent b0b080cb64
commit 4b83dceec1
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -353,7 +353,8 @@ export function uiFieldCombo(field, context) {
if (_isMulti) {
vals = [tagValue(utilGetSetValue(_input))];
} else if (_isSemi) {
val = tagValue(utilGetSetValue(_input).replace(/,/g, ';')) || '';
val = tagValue(utilGetSetValue(_input)) || '';
val = val.replace(/,/g, ';');
vals = val.split(';');
}
vals = vals.filter(Boolean);