Bug fix - check for null rather than just !

This commit is contained in:
Oliver 2021-06-28 13:10:41 +10:00
parent ba2537d125
commit e2942238a9

View File

@ -406,7 +406,11 @@ function updateFieldValues(fields, options) {
if (field == null) { continue; }
var value = field.value || field.default || null;
var value = field.value;
if (value == null) {
value = field.default;
}
if (value == null) { continue; }