-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
<select> input tag not working in Django #4904
Comments
Can you provide a codepen which reproduces it? Did you already inspect the element in the developer tools of the browser to find the problematic code? |
The select is meant to be initialized which you are not doing. In any case, we likely will make some changes to default elements in the upcoming releases |
Right, should be initalized with |
Hey @DanielRuf, I already found the problem when I post the issue. Sorry if it's not well explained. The thing is that Django renders |
That is new to me. http://materializecss.com/forms.html#select |
Description
<select>
tags are not working in Django because they need the class="browser-default" to appear in the browser.Repro Steps
The solution is to overwrite the forms widget, but I think this should be fixed from materialize css project.
The text was updated successfully, but these errors were encountered: