diff --git a/src/renderers/Remark.tsx b/src/renderers/Remark.tsx index 7736691e4..72345590c 100644 --- a/src/renderers/Remark.tsx +++ b/src/renderers/Remark.tsx @@ -66,16 +66,12 @@ class Remark extends React.Component { const finalIcon = (tooltip && tooltip.icon) || icon; return ( -
+
{ - if (!rules[ruleName]) { + if (!isExisty(rules[ruleName]) || isEmpty(rules[ruleName])) { return; } else if (typeof validations[ruleName] !== 'function') { throw new Error('Validation `' + ruleName + '` not exists!');