- 🇭🇺Hungary fox mulder
d10 version of #30 🐛 Display meaningful error messages according to the link type Needs work
Link fields set as External will get the error message "Manually entered paths should start with /, ? or #." if the user omits to input the scheme, i.e. using "www.example.org".
The error is misleading as the user is invited to start the path with "/,? or #". Doing this will let the form validation proceed on raising the appropriate error message which is "The path '@uri' is invalid." from LinkExternalProtocolsConstraint
LINK_EXTERNAL fields use HTML5 'url' type input so not all browsers let you submit the form with an invalid absolute URL. However browsers without support for 'url' type or forms with formnovalidate/novalidate attributes will still be affected.
However this is not possible until #2613694: Expose link_type on LinkWidget element → is committed in order to get the link type from the validateUriElement() method.
Add different error messages meaningful to each link type.
-
#2613694: Expose link_type on LinkWidget element →
-
No changes.
No changes.
No changes.
Needs work
11.0 🔥
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
d10 version of #30 🐛 Display meaningful error messages according to the link type Needs work