From cc52b6cfd437bb1431f6e646955bdc3a86023fac Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 18 Jun 2020 10:51:12 -0400 Subject: [PATCH] Prevent empty combo fields from adding a blank tag --- modules/ui/fields/combo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/fields/combo.js b/modules/ui/fields/combo.js index a76fb3981..04d6ca0d0 100644 --- a/modules/ui/fields/combo.js +++ b/modules/ui/fields/combo.js @@ -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);