Disable input widget or mark it as unused?
See original GitHub issueI have a node, which implements the relationship
a = b * c * d
Then I can write 3 additional nodes, which calculate
b = a / (c * d)
c = a / (b * d)
d = a / (b * c)
So far so good. But it’s also very unwieldy.
Another approach is to have just one node, where the first input is of dtypes.Choice(items=['a', 'b', 'c', 'd'])
, which selects which variable will be calculated.
Now there are two routes concerning the input:
- Have three inputs and change the
label_str
accordingly. This works perfectly. - Have four inputs and use only those, which are needed. This also works fine, but it would be nice to have a visual indicator to mark the unused input.
How would I disable an input widget or mark it as unused?
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
javascript - How to disable input on unused Text Boxes once a ...
I want the user to only be allowed to answer 3 questions from the form and as he answers the 3 questions of...
Read more >How To Disable & Hide Unused Elementor Widgets
The better way to remove the widget itself is to use a plugin, such as The Plus Addons for Elementor. You can just...
Read more >Read-only / Disabled widgets · Issue #211 · ocornut/imgui
I was just running into this myself needing both read-only content and separately fully-disabled UI (no input/greyed out/etc). My hacky solution ...
Read more >How to Disable Unused PowerPack Widgets
Open the drop-down menu, and click on the Filter: Not Used Widgets option. disable powerpack unused widgets. When you select the option, your ......
Read more >How To Disable Many Input Widget In a Screen at Once?
You can put the input fields in a field set. Disabling the field set will also disable the elements in it. Another way...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The workaround works perfectly, but I leave this issue open, because it refers to the feature request of disabling the whole input. I hope, this is ok.
Excellent! That’s that one I was looking for. Thanks.