I had an input box for users to enter a custom link to the page from the create form (somewhat similar to Wordpress). (e.g. about/awards , which is used for http://site.com/pages/about/awards ). At some point, this stopped working in Chrome, as they now perform a more stringent check on the input type="url" field. Which would be nice, but:
- This does not allow relative URLs. about / awards is a relative URL, but Chrome seems to reject everything except absolute URLs http: // domain / page / stuff
- The error is not particularly obvious. He simply focuses on the form field (which is not particularly noticeable) and refuses to provide the form. The message I received was that the form βdoesnβt workβ because they did not notice what was happening and it took me a few minutes to figure out what was happening.
I fixed it by simply returning to the input type = "text", but it defeats some useful things added by type="url" (for example, a special keyboard on the iPhone).
Is this part of the HTML5 specification or a problem in the implementation of Chrome?
input html5
Macha
source share