Topic: material_select ERROR

coaja19 free asked 6 years ago


HI, I'M TRYING TO USE MDB SELECT BUTT I HAVE AN ERROR IN CHROME CONSOLE THAT SAYS $ (...). Material_select is not a function.

Vadim Pedchenko free commented 6 years ago

Hi, are you add: <script> $('.mdb-select').material_select(); </script> after mdb.js? Are you a PRO user?

Bartłomiej Malanowski staff commented 6 years ago

do you use free or pro?

ludo-boa free answered 6 years ago


Hello. I have a same problem. we are can't using the mdb-select with a free account ?

Bartłomiej Malanowski staff commented 6 years ago

Our material select is available only with MDB Pro

bpvf_internet pro answered 6 years ago


Hello ! i need you help on this topic, i have same issue in my code material_select is not a function. Here is my footer.php file :
<script src="http://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
 <!-- Bootstrap tooltips -->
 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.13.0/umd/popper.min.js"></script>
 <!-- Bootstrap core JavaScript -->
 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.min.js"></script>
 <!-- MDB core JavaScript -->
 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.5.0/js/mdb.min.js"></script>

 <script type="text/javascript"> 
 // Material Select Initialization
 $(document).ready(function() {
 $('.mdb-select').material_select();
 });
 </script>

Mikołaj Smoleński staff commented 6 years ago

https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.5.0/js/mdb.min.js This is a free version of MDB. You need to add PRO version to Your project.

bpvf_internet pro commented 6 years ago

Thanks ! now it's working, + i added js code in my footer after mdb.min.js.

Mikołaj Smoleński staff commented 6 years ago

MDB pro includes also free version, so You can simply delete mdb.min.js (the free version)


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags