From a971f7357f6be4db275bbc4e1b0bceb48ff88fa0 Mon Sep 17 00:00:00 2001 From: yuri Date: Wed, 2 Nov 2016 16:31:04 +0200 Subject: [PATCH] fix dynamic logic --- client/src/dynamic-logic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/dynamic-logic.js b/client/src/dynamic-logic.js index 34b2bc6e96..35f3d1fbde 100644 --- a/client/src/dynamic-logic.js +++ b/client/src/dynamic-logic.js @@ -162,7 +162,7 @@ Espo.define('dynamic-logic', [], function () { if (Array.isArray(setValue)) { return !!setValue.length; } - return setValue !== null && (setValue !== ''); + return setValue !== null && (setValue !== '') && typeof setValue !== 'undefined'; } else if (type === 'isTrue') { return !!setValue; } else if (type === 'isFalse') {