Bug #105368
openForm input fields that have native browser validation do not get marked as invalid but still block any saving of a record
0%
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
Updated by Gerrit Code Review 11 days ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Gerrit Code Review 11 days ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Ayke Halder 11 days ago
Updated by Gerrit Code Review 11 days ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Ayke Halder 11 days ago
- File typo3-be-after-changed-field-without-any-error.png typo3-be-after-changed-field-without-any-error.png added
- File typo3-be-after-changed-field-with-validation-error.png typo3-be-after-changed-field-with-validation-error.png added
- File typo3-be-before-changed-field-without-any-error.png typo3-be-before-changed-field-without-any-error.png added
- File typo3-be-before-changed-field-with-invisible-validation-error.png typo3-be-before-changed-field-with-invisible-validation-error.png added
Updated by Gerrit Code Review 1 day ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Ayke Halder about 15 hours ago
- Related to Task #105524: FormEngine: input fields of type number are not working as expected when browser-native validation gets "bad input" added
Updated by Gerrit Code Review about 11 hours ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Ayke Halder about 11 hours ago
- Related to Task #105526: Introduce test-option for FormEngineValidation added
Updated by Gerrit Code Review about 11 hours ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Gerrit Code Review about 11 hours ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Gerrit Code Review about 10 hours ago
Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665
Updated by Gerrit Code Review about 10 hours ago
Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86665