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: Label hides selection in MD Bootstrap Select

optiplan free asked 5 years ago


Hi,

My select element does not show the selected option on load. It only show the label, which has not been set to active.

When I open the dropdown I can see that the correct option is selected (its also correctly submitted in the form). First after clicking another option the label transitions to its correct position and the form shows the selected option.

I'm using MD Pro 4.8.0

My HTML: <select class="mdb-select md-form colorful-select dropdown-primary"> <option value="1">Option 1</option> <option value="2" selected="selected">Option 2</option> </select> <label class="mdb-main-label">Blue select</label>

Not showing the selected option: Not showing the selected option


Marta Wierzbicka staff answered 5 years ago


Hi,

A material-select is a premium component, and according to our system, you use MDB Free version.

Please, provide us a number o your order or registered email to confirm your access to MDB Pro components and premium support.

Send it to me on email: m.szymanska@mdbootstrap.com

Best, Marta



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: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No