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 3 months 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 3 months 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 3 months ago
Updated by Gerrit Code Review 3 months 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 3 months 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 3 months 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 3 months 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 3 months 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 3 months ago
- Related to Task #105526: Introduce test-option for FormEngineValidation added
Updated by Gerrit Code Review 3 months 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 3 months 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 3 months 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 3 months 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
Updated by Gerrit Code Review 3 months ago
Patch set 10 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 2 months ago
Patch set 11 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 2 months ago
Patch set 12 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 2 months ago
Patch set 13 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 2 months ago
Patch set 14 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 2 months ago
Patch set 15 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 2 months ago
Patch set 16 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