#97521Year allow 6 digits in 'date' field
Description
When you put the ‘date’ field in a form, it allows up to 6 digits for the year. If a user accidentally enters ‘20222’ the field takes it but when we come to send the form, we have an error. And we have to correct the date. Is it possible to limit this field to 4 digits?
We tested it on typo11 php8.1 and we have the same problem.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 4
-
Georg Ringer commented 05/17/22, 09:44
-
Georg Ringer commented and changed status
NewNeeds Feedback 05/17/22, 09:47a solution can be
properties: fluidAdditionalAttributes: min: '' max: '9999-12-31' step: 1does that work for you?
-
Björn Jacob changed Sprint Focus Remote Sprint 06/29/22, 14:12
-
Georg Ringer commented and changed status
Needs FeedbackRejected 02/17/23, 07:08closing this issue as it is not really TYPO3 related
just some quick search: https://stackoverflow.com/questions/24603919/html5-date-input-6-digit-year this is more an issue of webkit browser which won’t be fixed https://bugs.chromium.org/p/chromium/issues/detail?id=583801