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: mdb-select multi select wrong item marked active

ckerbert pro asked 6 years ago


Clicking on an item in a mdb-select dropdown when multi-select is enabled causes the previous item to be marked active. This is even happening on the demo site here: https://mdbootstrap.com/javascript/material-select/#multiple

Mikołaj Smoleński staff answered 6 years ago


Hello, Today we are going to update MDB to a new version. This problem is fixed in that release. Please check our page soon. Regards

ckerbert pro answered 6 years ago


Actually the problem is on line 144 of material-select.js
selected = toggleEntryFromArray(valuesSelected, $(this).index() - 1, $select);
should be
selected = toggleEntryFromArray(valuesSelected, $(this).index(), $select);


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: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags