Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Immediate "Please enter a valid URL" when you start typing. #4

Open
dmitry-christie opened this issue Oct 25, 2017 · 2 comments
Open

Comments

@dmitry-christie
Copy link
Collaborator

dmitry-christie commented Oct 25, 2017

Not sure if it's the intended behaviour - but I personally find it mildly irritating.

Happens in Chrome and FireFox

@PrabhanshuAttri
Copy link
Contributor

@dmitry-christie Thanks for pointing this out. I agree with you, but I wanted to avoid a submit button. Do you have something else in mind where we can avoid a submit button and this can be fixed?

@ChristofLee
Copy link
Collaborator

I believe if(inputUrl.length > 0) { checks that a string has been entered into the input.

Could you make it > 3 to check more than 3 characters have been entered?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants