Topic: Multiple Select doesn't show and mark the selected options correctly

shilu911 pro asked 4 years ago


On the Multiple Select demo page, when I choose the option 3, then option 2 is marked with grey background and shown as the selected value. Same thing happens if you select option 1 and option 2. I also tried it with the JQuery version of MDB PRO, the issue is still there, could you please tell me how I could fix this issue? Thanks.

Mikołaj Smoleński staff answered 4 years ago


The correct solution is to change in mdb.js code line number 19135 from selected = toggleEntryFromArray(valuesSelected, $(this).index() – 1, $select) to selected = toggleEntryFromArray(valuesSelected, $(this).index(), $select); Regards

shilu911 pro commented 4 years ago

Thank you, it works now.

support@sync.my pro commented 3 years ago

I have same issue with mdb version 4.5.15, please help


Mikołaj Smoleński staff commented 3 years ago

Can You recreate Your problem?

As I can see in our documentation, there is no more issue. (https://mdbootstrap.com/docs/jquery/forms/multiselect/)

Best Regards



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags