I am currently working with materialize CSS and it seems I\'ve gotten snagged with the select fields.
I\'m using the example provided from their site but unfortunate
This works too: class = "browser-default"
I found myself in a situation where using the solution selected
$(document).ready(function() {
$('select').material_select();
});
for whatever reason was throwing errors because the material_select() function could not be found.
It was not possible to just say <select class="browser-default...
Because I was using a framework which auto-rendered the the forms.
So my solution was to add the class using js(Jquery)
<script>
$(document).ready(function() {
$('select').attr("class", "browser-default")
});