Open ghost opened 5 years ago
i have the same problem.. i have to delete the counter, and make a new..
Well, it seems that using msg.reset = 0
is buggy and don't reset anything. If the default value is 0
and you want to reset, just use msg.reset = true
, this will reset the value to zero then. Anything above zero can be set with msg.reset = 123
.
I will fix that bug when i have time. ;)
Any chance you will fix this bug? :)
This bug is still present. Any update? :)
msg.reset doesn't reset the counter to it's initial count and instead keeps on counting, nor does it reset to 0 when the msg.reset value is the number 0. Not sure if that's a bug but it can be verified with the examples in the repository.
node-red-counter 0.1.5 node-red 020.2 node.js 8.15.0