Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: .MDB-Select Value List Width

nathan.malone free asked 4 years ago


Desired Behavior In certain scenarios, it would be useful to allow the width of a .mdb-select's value list to be wider than the .mdb-select itself.

Actual Behavior The width of a .mdb-select's value list is restricted to the width of the .mdb-select itself.

Justification & Preferences This would be useful because I often find myself wanting to show detailed items in the value list, but show something abbreviated in the .mdb-select, like in the snippet in the Resources section. I think that it would be great if the framework could calculate the width using a formula like w = min(max(w1, w2), w3) where w is the calculated width of the value list, w1 is the width of the .mdb-select, w2 is the width of the longest item in the value list, and w3 is a reasonable max-width for the value list depending on the screen size.

Resources I do not have an example of what I want to happen, but here is a snippet where being able to make the .mdb-select's value list wider than the .mdb-select would be useful. In the example, the secondary text is often wider than the width of the list.


Grzegorz Bujański staff commented 4 years ago

Hi. At this moment we don't support this. I add you request to our ideas list, and we will discuss about this in team. Maybe someday we implement this feature.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.16.0
  • Device: Desktop PC
  • Browser: Chrome 81.0.4044.92
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: Yes