1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

JSON parser default should be not formatting output

If its a checkbox, then the default value should be a boolean,
not a string. Because "false" is truthy.
This commit is contained in:
Nick O'Leary 2017-07-04 13:44:37 +01:00
parent 1692c3b102
commit 6102a31a31
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -38,7 +38,7 @@
color:"#DEBD5C", color:"#DEBD5C",
defaults: { defaults: {
name: {value:""}, name: {value:""},
pretty: {value:"false"} pretty: {value:false}
}, },
inputs:1, inputs:1,
outputs:1, outputs:1,