Disable widget doesn't seem to do anything...

44 views
Skip to first unread message

Ken

unread,
Feb 22, 2022, 11:27:13 PM2/22/22
to Unified-RED
The documentation says...

Unified-RED version 2.1.0

Any widget can be disabled by passing in a msg.enabled property set to false;. Note: this doesn't stop the widget receiving messages but does stop inputs being active and does re-style the widget.

But, I can see no difference for any of the widgets I've tried between msg.enabled = true  or false.

I had expected the widget to disappear when msg.enabled = false.

Am I expecting too much?

Any advice...

Samy Arbid

unread,
Feb 23, 2022, 8:14:30 PM2/23/22
to Unified-RED
Hi Ken,

You’re right, we missed the stylizing part when handling msg.enabled. I’ll put it on the development roadmap. The intent is for the UI element to appear grayed out when disabled.

Thanks for your feedback!

Samy

Reply all
Reply to author
Forward
0 new messages