Topic: Editable select not working even in your snippet

lguenier free asked 4 years ago


Expected behavior

I am expecting your exemple to work

Actual behavior

it gives me a console error

Uncaught TypeError: $(...).materialSelect is not a function

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/snippets/jquery/temp/1478083?action=prism_export


Mateusz Łubianka staff answered 4 years ago


Hi,

Try to use this: $( document ).ready(function() { $('.mdb-select').materialSelect({ }); }); It should work.

Best,



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: MDB jQuery
  • MDB Version: 4.10.0
  • Device: Browser
  • Browser: chrome
  • OS: mac os
  • Provided sample code: Yes
  • Provided link: Yes