Actions
Bug #92913
closedDatepicker flatpickr does not update required check / formvalidation
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2020-11-23
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
datepicker, flatpickr, eval required
Complexity:
Is Regression:
Sprint Focus:
Description
The new datetime picker (Task #91606) does not update the input validation after picking a datetime.
Requirements¶
- current master (e.g. e3746d4454f978bb18065d9d838cbcaee4c0b49d)
Steps to reproduce¶
TCA with required datepicker:
'a' => [
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'eval' => 'datetime,required',
],
],
Steps:
- Create new record
- Pick a datetime with the dialog / button
- Save the form
Actual result¶
The field is marked as invalid and cannot be saved:
"The fields marked with an exclamation mark are not yet correctly filled in"
Expected result¶
The validation marker should disapear and the form can be saved.
Additional notes¶
- After editing the input manually (e.g. type something in and remove it) the input is valid
Files
Updated by Georg Ringer almost 4 years ago
- Related to Task #91606: Replace bootstrap-datetime picker added
Updated by Georg Ringer almost 4 years ago
- Status changed from New to Accepted
- Assignee set to Andreas Kienast
Updated by Gerrit Code Review almost 4 years 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
Updated by Andreas Fernandez almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b5ee7cf45a74f49eb4e43c19939702791204a824.
Actions