Datepicker flatpickr does not update required check / formvalidation
The new datetime picker (Task #91606) does not update the input validation after picking a datetime.
- current master (e.g. e3746d4454f978bb18065d9d838cbcaee4c0b49d)
Steps to reproduce¶
TCA with required datepicker:
'a' => [ 'config' => [ 'type' => 'input', 'renderType' => 'inputDateTime', 'eval' => 'datetime,required', ], ],
- Create new record
- Pick a datetime with the dialog / button
- Save the form
The field is marked as invalid and cannot be saved:
"The fields marked with an exclamation mark are not yet correctly filled in"
The validation marker should disapear and the form can be saved.
- After editing the input manually (e.g. type something in and remove it) the input is valid
Updated by Gerrit Code Review about 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66966