Skip to content
New issue

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

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

Already on GitHub? # to your account

Numeric Node - Manual Entry Fail with Min / Max Settings #828

Open
6 tasks
innoagg opened this issue Feb 8, 2024 · 0 comments
Open
6 tasks

Numeric Node - Manual Entry Fail with Min / Max Settings #828

innoagg opened this issue Feb 8, 2024 · 0 comments

Comments

@innoagg
Copy link

innoagg commented Feb 8, 2024

Issue:

When manually editing a numeric node in a dashboard with min / max settings the limits are enforced on every keystroke making it very frustrating and in some cases impossible to edit values. On large min/max ranges the up/down buttons are not practical.

What are the steps to reproduce?

Setup a numeric node with a min=10 and max=100. Set the value to 20. In the dashboard view try to type "50" into the entry box. The first keystroke of "5" will reset the value box to 10 as will the second keystroke of "0".

The only way to do this is to highlight a portion of the entry box and change that, but some browsers (like mobile or safari) make it nearly impossible to select and change just a portion of the data entry box text so that the min/max limits are not triggered.

What do you expect to happen?

Would prefer that the numeric node would not validate data entry on every keystroke but rather wait until focus is lost. At that point, if the value is outside the min/max the value would revert accordingly and pass the msg on to the output.

Please tell us about your environment:

  • Node-RED-Dashboard version: 3.6.2
  • Node-RED version: 3.1.0
  • node.js version: v20.8.1
  • npm version: 10.1.0
  • Platform/OS: Ubuntu 2204
  • Browser: Chrome
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant