Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node controller doesn't show None well #136

Open
liamhuber opened this issue Nov 24, 2022 · 0 comments
Open

Node controller doesn't show None well #136

liamhuber opened this issue Nov 24, 2022 · 0 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@liamhuber
Copy link
Member

Since #131, input can only be modified in the node controller if (a) it's not connected to receive from the graph, and (b) there is an existing widget that handles that data type. In particular, for float data, transitioning from ipywidgets.Text to ipywidgets.TextFloat means that any initial None values no longer register in the widget, the widget default (0 in this case) is shown instead.

As far as I can tell this is just a fundamental limitation with the widgets, which don't have any sort of allow_none flag. I had hoped to at least add the default as a tooltip so when you moused over you could at least read the default, but tooltips aren't even implemented for TextFloat.

So for now let's just live with it.

@liamhuber liamhuber added bug Something isn't working wontfix This will not be worked on labels Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant