We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When resetting the form, the label overlaps the provided default text. No change in behaviour even after adding class="active" to the label element.
There are several related issues. I checked them but they are not quite the same or based on outdated versions. (open issue #5051)
Here is a very reduced test case: https://codepen.io/eulores/pen/EBrydy
I expect the label not to overwrite the text when resetting the form.
In the javascript file forms.js, in the function triggered on form reset, do these two changes:
See Codepen sample code.
I tried and saw same behaviour with Firefox, Chrome and Edge browsers. Materialize version 1.0.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When resetting the form, the label overlaps the provided default text. No change in behaviour even after adding class="active" to the label element.
There are several related issues. I checked them but they are not quite the same or based on outdated versions. (open issue #5051)
Here is a very reduced test case:
https://codepen.io/eulores/pen/EBrydy
I expect the label not to overwrite the text when resetting the form.
Possible Solution
In the javascript file forms.js, in the function triggered on form reset, do these two changes:
Steps to Reproduce (for bugs)
See Codepen sample code.
My Environment
I tried and saw same behaviour with Firefox, Chrome and Edge browsers.
Materialize version 1.0.0
The text was updated successfully, but these errors were encountered: