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

Limit number elements in the Add Job form to 2 digits #5

Open
bogdanghervan opened this issue Nov 30, 2014 · 0 comments
Open

Limit number elements in the Add Job form to 2 digits #5

bogdanghervan opened this issue Nov 30, 2014 · 0 comments

Comments

@bogdanghervan
Copy link
Member

We should limit these input type=number elements to 2 digits:

  • time[specificTime][hour]
  • time[specificTime][minute]
  • time[everyHour][step]
  • time[everyHour][minute]
  • time[everyMinute][step]

maxlength doesn't work for number elements, so probably a JavaScript-based approach would be the solution here.

The solution has to account for the fact that contents could be pasted into the field, rather than typed.

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

No branches or pull requests

1 participant