diff --git a/model/document.js b/model/document.js index 6cb5e816..51e9feb8 100644 --- a/model/document.js +++ b/model/document.js @@ -244,7 +244,7 @@ module.exports = class BaseDocument extends Observable { if (field.fieldtype == 'Select') { this.meta.validateSelect(field, value); } - if (field.validate) { + if (field.validate && value != null) { let validator = null; if (typeof field.validate === 'object') { validator = this.getValidateFunction(field.validate);