Actions
Bug #97521
closedYear allow 6 digits in 'date' field
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2022-04-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint
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.
Updated by Georg Ringer over 2 years ago
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
Updated by Georg Ringer over 2 years ago
- Status changed from New to Needs Feedback
a solution can be
properties: fluidAdditionalAttributes: min: '' max: '9999-12-31' step: 1
does that work for you?
Updated by Georg Ringer almost 2 years ago
- Status changed from Needs Feedback to Rejected
closing this issue as it is not really TYPO3 related
Actions