Bug fix mb-select


Topic: Bug fix mb-select

Wanderson pro asked 3 years ago

A problem was encountered in the "mb-select" component with "multiple". The wrong index of the list is selected when an option is selected. Correction was made to the mdb.js file on line 19135. Here is the excerpt of the corrected code. Previous: selected = toggleEntryFromArray (valuesSelected, $ (this) .index () - 1, $ select); Correction: selected = toggleEntryFromArray (valuesSelected, $ (this) .index (), $ select);
Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No