Skip to content
Snippets Groups Projects
Commit 2dc49ec6 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Georg Ringer
Browse files

[BUGFIX] Add basic validation for email and phone links

To avoid setting potentially invalid links, the "email address" and
"telephone number" fields both are marked as "required". The input type
of the former one is also changed to `email`.

As a drive-by fix, `id` and `for` properties are set to link the input
fields to their respective label.

Resolves: #98388
Releases: main, 11.5
Change-Id: I24d62f70743e2bce73dd1de3cd9ecdac5dd0343a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76216


Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76222


Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent ea8ec41e
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment