Issue Bug Rejected

#97521Year allow 6 digits in 'date' field

David Fontaine 04/29/22, 14:42 updated 02/17/23, 07:08

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

  1. Georg Ringer commented 05/17/22, 09:44

  2. Georg Ringer commented and changed status New Needs Feedback 05/17/22, 09:47

    a solution can be

    properties:
              fluidAdditionalAttributes:
                min: ''
                max: '9999-12-31'
                step: 1

    does that work for you?

  3. Björn Jacob changed Sprint Focus Remote Sprint 06/29/22, 14:12

  4. Georg Ringer commented and changed status Needs Feedback Rejected 02/17/23, 07:08

    closing this issue as it is not really TYPO3 related