Tagged: materialize

material_select is not a function error in Materialize CSS

Problem: Using CDN https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css and https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js, there is an error on console -- material_select is not a function

It is because of material_select() method only in Materialize CSS version v0.100.2

Solution: switch materialize CSS file from 1.0.0 to 0.100.2 -- https://cdn.bootcss.com/materialize/0.100.2/css/materialize.min.css