-
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 box doesn't render if added dynamically! #275
Comments
Duplicate of #166 |
This issue is still happening even after fixing the issue 166. The code does not deal with SELECT input boxes at all, hence it never gets initialized again ever! |
If you have the latest code, it should work. |
And you need to call the plugin again once you've added the select dynamically |
Okay I will give it a try, so just call this again? $('.dropdown-button').dropdown(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The select box is not rendering if added dynamically using Javascript. If the select box exists on the html when initial page rendering takes place, it shows up and styles itself. Otherwise, it doesn't show up at all if appended to the page.
I even tried calling: $(".selec-dropdown").dropdown();
Still nothing. Any idea what could fix this. I am using the most current and updated version of Materialize.
The text was updated successfully, but these errors were encountered: