Topic: Select input for forms - sizing?
Marvin Herbold pro premium priority asked 4 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.
Michał Duszak staff answered 4 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
Marvin Herbold pro premium priority answered 4 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/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No