5 ms·
I thought that one was unable to handle domains without a protocol, which makes it pretty much useless for normal business cases. I’ve never met a single non-te
by 9dev 2y ago
I thought that one was unable to handle domains without a protocol, which makes it pretty much useless for normal business cases. I’ve never met a single non-technical person that understood what that https was, why they should add it, or didn’t get immeasurably bored if you tried to explain it…
- TheIndieBuilder 2y agoTo be fair, even Tim Berners Lee doesn't understand what the :// is for and has apologised for adding it.
- 9dev 2y agoWhich would be even more of a reason to standardise an input field that handles web addresses as humans enter them, not machines prefer them. Yet, here we are.
- klabb3 2y agoI think you’d just prefill with https:// https:// and let the user type the rest.
- 9dev 2y agoDepending on how your forms are set up, this will cause the field to be marked as invalid as soon as the user interacts with any of the forms fields, if not on load. Also, this requires additional handling for copy paste etc.
- knallfrosch 2y ago> I thought that one was unable to handle domains without a protocol Check if the protocol is included and add if necessary
- 9dev 2y agoNo, that doesn’t work. Since the browser validates the field, it is marked as invalid unless there’s a protocol present. So you’re back to using the text field, but loose out on input optimisations for URLs.