Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MultiSelect throwing error for popper

bistech free asked 5 years ago


Expected behavior I am wanting to use a multiselect to load certain content into a form, I am running into an error for popper.js.

I am using the demo, see code snippets below:

Actual behavior When I click to get the dropdown I get the following error in the console and nothing happens for the multiselect: // This is the error that comes through the console when i click to get the dropdown menu for the multiselect // Uncaught TypeError: Cannot read property 'setAttribute' of null at Object.onLoad (popper.min.js:4) at popper.min.js:4 at Array.forEach () at new t (popper.min.js:4) at c.t.toggle (bootstrap-4.3.1.min.js:6) at HTMLInputElement. (bootstrap-4.3.1.min.js:6) at HTMLInputElement.dispatch (jquery-3.4.1.min.js:2) at HTMLInputElement.v.handle (jquery-3.4.1.min.js:2) onLoad @ popper.min.js:4 (anonymous) @ popper.min.js:4 t @ popper.min.js:4 t.toggle @ bootstrap-4.3.1.min.js:6 (anonymous) @ bootstrap-4.3.1.min.js:6 dispatch @ jquery-3.4.1.min.js:2 v.handle @ jquery-3.4.1.min.js:2

Resources (screenshots, code snippets etc.)

See an example of the resources I have reference and the demo code i am using. Im thinking I am missing something like a js file or something?


Sebastian Kaczmarek staff commented 5 years ago

Could you please post an example? You can use https://mdbootstrap.com/snippets/



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.9.0
  • Device: laptop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No