select input -how to adjust the list size


Topic: select input -how to adjust the list size

Yiannis Kyriazidis asked 3 years ago

How to adjust the list size of a select list input ?I have a select input (single select) with about 50 options in list and would like to configure the list to either have a max -height-?? (which will overflow after the breakpoint) or set it to expand as much at full height based on the count of options.Currently I cant find a setting to control the list size to expand

I tried (data-mdb-visibleOptions="50") but nothing


Michał Duszak staff commented 3 years ago

Proper attribute is data-mdb-visible-options="50". E.g: https://mdbootstrap.com/snippets/standard/m-duszak/3262876#html-tab-view


Yiannis Kyriazidis commented 3 years ago

ok thanks . that worked.


works now. thank you


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: windows desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No
Tags