Skip to content
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

M.updateTextFields() not adding valid class on prefilled text fields #5777

Open
leftdead7 opened this issue Mar 29, 2018 · 1 comment
Open

Comments

@leftdead7
Copy link

Materialize Release: 1.0.0-alpha.4
Chrome Version 65.0.3325.181 (Official Build) (64-bit)
Windows 10 desktop

##description
When an input field with some value in it, goes out of focus, the bottom border retains its color.
But when M.updateTextFields() is called for prefilled text field it does not adds the valid class to it and hence the bottom border color remains grey

Expected Behavior

After calling M.updateTextFields(), valid class to be added to prefilled inputs so that the bottom border is colored.

Steps to Reproduce (for bugs)

The same can be reproduced on Materializecss website in the "Prefilling Text Inputs" section

@Abolfazl
Copy link

I am having this same issue. It would be nice to have it automatically show the valid/invalid CSS class for prefilled text inputs.

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

No branches or pull requests

2 participants