Actions
Bug #105368
openForm input fields that have native browser validation do not get marked as invalid but still block any saving of a record
Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2024-10-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Any HTMLInputElement
that has native browser-validation might block the form from beeing sent.
But no validation error from the TYPO3 side is shown.
It's about all those input
-fileds which have browser-native syntax-validation either
- implicit by
type="email,date,number,…"
or - explicitly added via attributes like
min
,max
,minlength
,maxlength
…
Also see
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes
- https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/invalid_event#result
Without fix¶
Changed field: valid vs. invalid value¶
With fix¶
Changed field: valid vs. invalid value¶
Files
Actions