Y
Hacker News
new
|
ask
|
show
|
jobs
by
knallfrosch
658 days ago
> I thought that one was unable to handle domains without a protocol
Check if the protocol is included and add if necessary
1 comments
9dev
658 days ago
No, 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.
link