-
Notifications
You must be signed in to change notification settings - Fork 8
Placeholder class is not removed on input[type='email'] #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Would you tell me more information? For instance, is it in all browsers or a specific browser/version that you are seeing this behavior? |
Hey. Yep I'm experiencing this in Chrome, so I'm expecting all browsers. So the original placeholder appears as normal, I click the input field, the placeholder disappears as expected. However, it fails to remove the .placeholder class, giving me .placeholder styles. Then, if I blur the input, and refocus into it, any text that I've entered into it is removed (acting like a placeholder). |
Before I try to replicate the behavior with a fiddle of my own, do you have somewhere online that I can see this behavior? Also, what OS are you using and what version of Chrome are you running? It shouldn't matter, but I'd like to make sure that I test with as similar of an environment as possible. |
Yeah absolutely. Browser: Chrome 38.0.2125.104 Unfortunately I can't upload it as it's a company project. We defaulted to a type=text field in the end (client deadlines). But you can view the test environment here: |
Interestingly, this is because of the validation associated with |
I made a change that works for me - could you test the issue-5 branch to see how well it works for you? |
Issue-5 branch is working quite nicely for this issue. |
Issue-5 branch fix this issue and seems fix issues/9 |
Merged. |
Any text added to the input is also treated as a placeholder (is removed when refocused).
The text was updated successfully, but these errors were encountered: