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

Bad regex for Period field (advanced form) #140

Closed
Bubka opened this issue Nov 23, 2022 · 0 comments
Closed

Bad regex for Period field (advanced form) #140

Bubka opened this issue Nov 23, 2022 · 0 comments
Labels
bug Something isn't working fixed The issue is fixed (in a coming release)
Milestone

Comments

@Bubka
Copy link
Owner

Bubka commented Nov 23, 2022

Describe the bug
The Period field only accepts one digit due to an invalid regex for the pattern html attribute.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the advanced form
  2. Fill the form with TOTP type selected
  3. Set the Period to 30
  4. The validation waits for a single digit value

Expected behavior
Value can be from 1 to 4 digits

@Bubka Bubka added bug Something isn't working fixed The issue is fixed (in a coming release) labels Nov 23, 2022
@Bubka Bubka added this to the v3.4.1 milestone Nov 25, 2022
@Bubka Bubka closed this as completed in 312ad46 Nov 25, 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 fixed The issue is fixed (in a coming release)
Projects
Status: Released
Development

No branches or pull requests

1 participant