User tests: Successful: Unsuccessful:
Pull Request for Issue #41399 .
Minimum set to 0 and only numbers are allowed
Add a recipe and try a negative and or decimal duration
nothing
marked invalid on blur
Category | ⇒ | Front End Plugins |
Status | New | ⇒ | Pending |
I have tested this item ? unsuccessfully on 9dba891
pattern does not work on number fields
also you have told me many times in the past that clientside only validation is not good enough
pattern does not work on number fields
Interesting, j read it doesn't work in chrome, I tested it in Vivaldi and thought it's fixed for all chromium based browsers.
Also interesting that joomla doesn't validate it patterns, have to check this, don't we have a regex validation?
i've lost track now of the number of times over the years I have raised that forms are not being validated when we think they are and vice versa.
pattern does not work on number fields
Interesting, j read it doesn't work in chrome, I tested it in Vivaldi and thought it's fixed for all chromium based browsers.
Nothing to do with chrome. its part of the specification
the pattern attribute is an attribute of the text, tel, email, url, password, and search input types.
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern
Also interesting that joomla doesn't validate it patterns
Validation per field is OPT-IN, not default...
you are right that pr doesn't solve the issue, mainly because we don't have a correct field for this. In theory we have a time field with time rule which would fit, with the exception that the maximum could only be 24 hours and can't be easily extended to more then 99 ours...
Also we are missing a simple regex rule...
I'm closing this pr. sorry for wasting your time.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-08-20 19:19:05 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
PR-5.0-dev
|
No change