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-red-node-ui-table regex problem with ":" #59

Open
5 tasks
multixz opened this issue Mar 29, 2021 · 2 comments
Open
5 tasks

node-red-node-ui-table regex problem with ":" #59

multixz opened this issue Mar 29, 2021 · 2 comments

Comments

@multixz
Copy link

multixz commented Mar 29, 2021

Which node are you reporting an issue on?

node-red-node-ui-table v0.3.10

What are the steps to reproduce?

Create a ui_table with the "validator": "regex:^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$"

What happens?

The regex works until the colon. After the colon any character is valid.
valid inputs:

  • 13:35
  • 22:90
  • 12abrfvcs

invalid inputs:

  • 90:20
  • abc:12

What do you expect to happen?

The Validator should detect the 22:90 and 12abrfvcs as invalid.

Please tell us about your environment:

  • Node-RED version: v1.2.6
  • node.js version:10.23.0
  • npm version: 7.7.5
  • Platform/OS: ubuntu 20.04.1 LTS
  • Browser: chrome 89.0.4389.90
@multixz multixz changed the title node-red-node-ui-table reges problem with ":" node-red-node-ui-table regex problem with ":" Mar 29, 2021
@dceejay
Copy link
Member

dceejay commented Mar 29, 2021

looks like it was/is a known problem with the underlying tabulator library. If someone has the time to update the node to try the latest tabulator library and check it doesn't break things it would be much appreciated.

@Christian-Me
Copy link
Contributor

Hope I find some time "soon" ,,,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants