I'm trying to do a project here using Materialize, but the select field is not appearing.
This is HTML
<div class="input-field col s4">
<select>
<option value="" disabled selected>Escolha uma opção</option>
<option value="1">Código</option>
<option value="2">Nome</option>
<option value="3">Email</option>
</select>
<label for="search">Filtrar</label>
</div>
This is JavaScript:
$(document).ready(function() {
$('select').formSelect();});
It's like this in View
WhoeverwantstoknowmoreaboutMaterializedocumentation: link
This is the console error