From e59eff83b9fd57555a43b92c9ae7aa2639d2e693 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 29 Jun 2017 23:22:31 +0100 Subject: [PATCH] Ensure default switch node config matches what a no-op edit gives --- nodes/core/logic/10-switch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/logic/10-switch.html b/nodes/core/logic/10-switch.html index 80f4540df..54c3af660 100644 --- a/nodes/core/logic/10-switch.html +++ b/nodes/core/logic/10-switch.html @@ -86,7 +86,7 @@ name: {value:""}, property: {value:"payload", required:true, validate: RED.validators.typedInput("propertyType")}, propertyType: { value:"msg" }, - rules: {value:[{t:"eq", v:""}]}, + rules: {value:[{t:"eq", v:"", vt:"str"}]}, checkall: {value:"true", required:true}, outputs: {value:1} },