I had a input box for users to enter in a custom link to a page from the creation form (somewhat similar to Wordpress). (e.g. about/awards
which gets used for http://site.com/pages/about/awards
) At some point, this stopped working in Chrome, as they now do stricter validation of input type="url"
field. Which would be good but:
I've fixed it by just switching back to input type="text" but this defeats some of the useful stuff that type="url"
added (such as the special keyboard on the iPhone).
Is this a part of the HTML5 spec, or a problem in Chrome's implementation?
It says, "While the value of the element is not a valid absolute URL, the element is suffering from a type mismatch."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With