Topic: Bug Multiple Select MDB PRO Your WebSite and Package MDB Pro 4.4.3.ZIP
Supplier Management pro asked 7 years ago
<select class="mdb-select" multiple>
<option value="" disabled selected>Choose your option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
<label>Example label</label>
development pro answered 7 years ago
selected = toggleEntryFromArray(valuesSelected, $(this).index() - 1, $select);Reemplaza por:
selected = toggleEntryFromArray(valuesSelected, $(this).index(), $select);Y así se solucionó en mi caso. Yo estoy usando Material Design for Bootstrap 4, Version: MDB PRO 4.4.4
Jakub Strebeyko staff answered 7 years ago
4.5
version, where issues with multiselect should be addressed.
With Best Regards,
Kuba 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 Vue
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
ozcanarslan pro commented 7 years ago
Same here. I wanted to use material select with multiple but got problem. But when adding searchable=".." tag to select then multiple selection is working as expected.logiczone commented 7 years ago
I'm seeing the same issue. On your own example page, on the "Multiple Select" control. I performed the following: 1) Selected "Option 1". The item is checked, but the Select input still shows "Choose your option" 2) Selected "Option 1" and "Option 2". The items are checked but the Select input shows: "Choose your option, Option 1" 3) Selected all 3 options. The Select input shows: "Choose your option, Option 1, Option 2" Btw, I'm using MDB Jquery.