# \`slider\` question with the \`msg.enabled\` option

**URL:** <https://discourse.nodered.org/t/slider-question-with-the-msg-enabled-option/30689>\
**Category:** Dashboard\
**Created:** [25 July 2020 11:24 UTC](https://discourse.nodered.org/t/slider-question-with-the-msg-enabled-option/30689 "2020-07-25T11:24:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [25 July 2020 11:24 UTC](https://discourse.nodered.org/t/slider-question-with-the-msg-enabled-option/30689/1 "2020-07-25T11:24:42Z")

</div>

I want to make sure I am not going nuts.

This keeps biting me and I think I now have the cause.

I have a `slider` and it has a value of `6` as an example.

I send the node a message: `msg.enabled = false`

This stops the `slider` being slid.......

But does it also wipe the vale?  
If so: Why?  
How can I stop it happening? Or:  
How can I restore the value when it is re-enabled?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [25 July 2020 16:21 UTC](https://discourse.nodered.org/t/slider-question-with-the-msg-enabled-option/30689/2 "2020-07-25T16:21:24Z")

</div>

it doesn't wipe the value.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [25 July 2020 21:15 UTC](https://discourse.nodered.org/t/slider-question-with-the-msg-enabled-option/30689/3 "2020-07-25T21:15:50Z")

</div>

Ok, thanks.

So there is another _Gremlin_ in there somewhere.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 September 2020 21:15 UTC](https://discourse.nodered.org/t/slider-question-with-the-msg-enabled-option/30689/4 "2020-09-23T21:15:52Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
