diff --git a/services/loopback/server/boot/validations.js b/services/loopback/server/boot/validations.js index 06a8a8c0b..fe5e5d365 100644 --- a/services/loopback/server/boot/validations.js +++ b/services/loopback/server/boot/validations.js @@ -36,7 +36,7 @@ module.exports = function(app) { for (let validation of validations[fieldName]) { let options = validation.options; - if ((options && options.async) || + if ((options && options.async) || (validation.validation == 'custom' && !validation.isExportable)) continue;