Topic: Uncaught TypeError: $(...).mdbAutocomplete is not a function

asiddiqi free asked 3 years ago


*Expected behavior*Referencing :

https://mdbootstrap.com/docs/b4/jquery/forms/autocomplete/#docsTabsOverview

I am trying to implement the last example, "Options Example". I'm a free user, and there is not anything next to the component designating it as a premium component, so it should be available. If this is designated for premium users, then it should be labeled.

*Actual behavior*it does not work fully and provides me this console error from browser:

Uncaught TypeError: $(...).mdbAutocomplete is not a function http://127.0.0.1:5002/static/index.js:61 index.js:61:31 http://127.0.0.1:5002/static/index.js:61

Resources (screenshots, code snippets etc.)! enter image description hereAs you can see, it is not showing suggestions, and the button seems to be malformed. I copied/pasted the code exactly from the documents. I have navbars, navbar collapsibles, and sorted tables working, so I don't think it's a jQuery linking issue.


Marcin Luczak staff answered 3 years ago


Hi,

Autocomplete component is a PRO component, and should be labelled with the 'MDB Pro component' badge. We will check if there is an issue with this labelling, but I'd also recommend you to refresh the page or clear the page cache and check whether the label is visible.

Thank you for your report,

Keep coding, Marcin



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: MDB4 4.19.2
  • Device: Dell
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes