Topic: Select input not working
ahmado_vic free asked 7 years ago
germantellezv free answered 4 years ago
I'm using the pro version and what worked for me was check the filename of jquery script src. Try using CDN
// This worked for me
$(document).ready(function() {
$('.mdb-select').materialSelect();
});
Syed Arif Andrabi free answered 6 years ago
Please check your initialization ..It should be as given below ..It should not be of free version
// Material Select Initialization
$(document).ready(function() {
$('.mdb-select').material_select();
});
the free version initialization is below and it donot work...
// Material Select Initialization
$(document).ready(function() {
$('.mdb-select').materialSelect();
});
the difference only is materialSelect() method which creates all problems..
replace it with
material_select()
Hope this works for all guys
Syed Arif
Bartłomiej Malanowski staff commented 6 years ago
Material Select is a premium component and it won't work with MDB Free
Syed Arif Andrabi free answered 6 years ago
Please check your initialization ..It should be as given below ..It should not be of free version
// Material Select Initialization $(document).ready(function() { $('.mdb-select').material_select(); });
the free version initialization is below and it donot work...
// Material Select Initialization
$(document).ready(function() {
$('.mdb-select').materialSelect();
});
the difference only is materialSelect() method which creates all problems..
replace it with
material_select()
Hope this works for all guys
Syed Arif
legaulph free answered 6 years ago
Bartłomiej Malanowski staff commented 6 years ago
what's your code? what's your version of MDB? do you use pro or free version?Gerard Fossoul pro answered 6 years ago
Natael Bernardo pro commented 6 years ago
Check if you have initialized material select : // Material Select Initialization $(document).ready(function() { $('.mdb-select').material_select(); }); And place JqueryJs before MDBJswsmith free commented 6 years ago
Greetings. I too am having the same problem. I've replaced my select with your code and to no avail, it does not work. I've purchased MDBPro <script> // Material Select Initialization $(document).ready(function() { $('.mdb-select').material_select(); }); </script> <select class="mdb-select" multiple> <option value="" disabled selected>Shop By Brands</option> <option value="1">FHI Heat</option> <option value="2">Stylus</option> <option value="3">Daily Beauty</option> <option value="3">Hair Veil</option> <option value="3">Neo bond</option> </select>Kamil Paciepnik free answered 7 years ago
fadil.bourkouli pro answered 7 years ago
Kamil Paciepnik free answered 7 years ago
<select class="mdb-select" multiple>
<option value="" disabled selected>Shop By Brands</option>
<option value="1">FHI Heat</option>
<option value="2">Stylus</option>
<option value="3">Daily Beauty</option>
<option value="3">Hair Veil</option>
<option value="3">Neo bond</option>
</select>
JS:
// Material Select Initialization
$(document).ready(function() {
$('.mdb-select').material_select();
});
Regards
fadil.bourkouli pro answered 7 years ago
fadil.bourkouli pro answered 7 years ago
Kamil Paciepnik free answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No