New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mailto links should be allowed in URL fields #5497
Comments
This still appears to be an issue in Pro 3.5.14 |
Just giving this a bump as I had to switch a field from a URL field to a Plain Text field today so that users could use mailto: links. |
Giving this a bump as well; I find I frequently need to use Plain Text fields instead of url fields because of this issue. |
This is resolved for the next 3.6 release ✨ URL fields now have an “Allowed URL Types” setting, with “Web page”, “Telephone”, and “Email” options: When 2+ options are checked, a dropdown will be displayed to the left of the URL input, which lists the options you’ve selected. Phone numbers will get a |
Craft 3.6 has now been officially released ✨ |
Awesome! Any chance we could also get this ability when the URL field is within a Table field? Thanks |
@melissadoyon Just created a new issue for that: #7512 |
Description
mailto:test@test.com
is a valid URL for<input type="url">
, but they fail the validation incraft\validators\UrlValidator
.Steps to reproduce
mailto:test@test.com
in the field and save.[fieldname] is not a valid URL.
Additional info
The text was updated successfully, but these errors were encountered: