Select box doesn't render if added dynamically!
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.
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();