Reputation: 137
I found the document in materialize UI framework with select2 .
when I did not add $("select").selet2(); everything is ok . the page like this:
when I add .select2() function, the page not work well :
the line under select disappeared .
I push my code into github , and here is the repository:
https://github.com/SeasonXin/material-select2-issue.git
hope somebody's support, very thanks ;
Upvotes: 1
Views: 3710
Reputation: 9
I had the same problem, but I found this https://github.com/nikitasnv/materialize-select2
In the case of labels, enter these styles
style = "position: absolute; top: -14px; font-size: 0.8rem"
Upvotes: 0
Reputation: 105
Adding the class 'browser-default' to the select element will fix that
Upvotes: 1