Prevent empty combo fields from adding a blank tag

This commit is contained in:
Quincy Morgan
2020-06-18 10:51:12 -04:00
parent b1194f59e8
commit cc52b6cfd4

View File

@@ -309,7 +309,7 @@ export function uiFieldCombo(field, context) {
if (!rawValue && Array.isArray(_tags[field.key])) return;
val = context.cleanTagValue(tagValue(rawValue));
t[field.key] = val;
t[field.key] = val || undefined;
}
dispatch.call('change', this, t);