Topic: MULTISELECT selecting INCORRECT ITEMS. Same w/ example on this site.
stageagent pro asked 7 years ago
The bootstrap multi-select input feature is completely broken on our website, the same is happening on your website example here:https://mdbootstrap.com/javascript/bootstrap-multiselect/
If you select the first example WITH a search box, the items selected are correct.
IF you select MULTISELECT WITH LABEL for example, it will select the item ABOVE it.
This is greatly affecting our product use with our search filters making it absolutely impossible to select the correct item.
Mikołaj Smoleński staff answered 7 years ago
edouard commented 7 years ago
Hello ! Be careful : this fix only works for non searchable Selects ! The correct line should be : selected = toggleEntryFromArray(valuesSelected, $(this).index() - (searchable ? 1 : 0), $select);FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No