For the numeric input widget: is it possible to have the option to use a text input as opposed to having to use up and down arrows?
Similarly, is it possible to pass a validation function to the text input node to achieve the same functionality?
On the slider input widget, is it possible to have the option to show the current value on the dashboard?
Basically looking for a solution to allow floating point input between a range. The slider would be ideal, but doesn't show the current value. The numeric works but isn't very friendly since you have to hit the arrows a ton of times if you want to allow small steps. The text input would work, but the input needs to be validated, and it'd be ideal to validate in the node instead of adding function blocks outside to validate every single input.
Slider shows the value if configured to output only on release
1 Like
Thanks @hotNipi, didn't see anything in the info about that so never tried/saw it.
It is kind of new feature indeed. May be @dceejay can improve a bit the info page of slider node? Would be helpful i think.
PR always gratefully received
@dceejay, noted, I may try to submit some PRs in the near future.
@thatcadguy, I have this exact same situation, specifically for the numeric input widget. For my application this widget is perfect, except for the lack of
- text numeric input (typing in a value using keyboard, which would be validated by the min/max)
- speed control for the up/down arrows (not as important as the text numeric input)
In my mind it's so close! Does anyone know how to make this change as an improvement or fork of the numeric input block? Or does something similar already exist? I searched for it but was unsuccessful.
Thank you!
Wow, I just found this: Numeric node: can't change value by keyboard · Issue #509 · node-red/node-red-dashboard · GitHub
"Setting the Value Format field to {{msg.payload}} will make the input field editable so you can type in a number."
Wish I knew that, as it fully solves the problem! Perhaps this should be a drop-down selectable mode, for better usability?