Topic: MDB5 4.0.0 MDBSelect dropdown size doesn't consider the 'Select All' option
beenham priority asked 2 years ago
Expected behavior
Dropdown shows 4 options + 'Select All' option when visible options = 5
Actual behavior
Dropdown shows 3 options + 'Select All' option and become scrollable
Dropdown created is max height '152px' (4 * 38px) where it should be 190px (5 * 38px)
Resources (screenshots, code snippets etc.)
corresponding code snippet:
<MDBSelect
label="Test"
multiple
selectAll={true}
visibleOptions={5}
data={[
{ text: '1', value: 1 },
{ text: '2', value: 2 },
{ text: '3', value: 3 },
{ text: '4', value: 4 },
]}
/>
Krzysztof Wilk staff answered 2 years ago
Hi!
Thanks for reporting that, we'll fix it in the next release :)
Keep coding!
beenham priority commented 2 years ago
Hi Krzysztof,
I see that the latest release (v4.1.0) suggests this is fixed - Select - fixed visible options when select all button exists
however, I am still seeing the issue, and can recreate the issue using the original code snippet.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 4.0.0
- Device: PC
- Browser: Chrome
- OS: Win11
- Provided sample code: No
- Provided link: No