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: Select input for forms - sizing?

Marvin Herbold priority asked 3 years ago


Where is the ability to control the size of the select via HTML class attributes? I see there is the ability via API... but no ability via HTML. I tried select-sm and form-control-sm, neither worked. Vanilla Bootstrap 5 has the ability to control the size of the select via HTML class attributes.


Marvin Herbold priority answered 3 years ago


Ok you need to add that info to the website. There's no mention of a data-mdb-size attribute on it, at all.

https://mdbootstrap.com/docs/standard/forms/select/


Michał Duszak staff commented 3 years ago

Thank you for suggestion! We will review the docs.


Michał Duszak staff answered 3 years ago


Use data-mdb-size attribute. It accepts lg and sm values.

<select class="select" data-mdb-size="lg">

https://mdbootstrap.com/snippets/standard/m-duszak/3016040#html-tab-view



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No