MDB-Select not selecting selected option


Topic: MDB-Select not selecting "selected" option

Dsoure asked 5 years ago

After the page is loaded, it should move the label to the top and keep the selected value on the input line, but the following happens:

enter image description here

The correct display would be:


enter image description here


My code:

enter image description here


Bartłomiej Malanowski staff pro premium commented 5 years ago

Please try to add the .md-selected class to your native select


Mikołaj Smoleński staff answered 5 years ago

Hi there,

The issue was solved in the latest 4.8.7 MDB release. Please upgrade.

Best regards


grizotto answered 5 years ago

I have the same problema and adding .md-selected didn't work too.


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 jQuery
  • MDB Version: 4.8.4
  • Device: Dell XPS 15
  • Browser: Chrome
  • OS: Win10 Pro
  • Provided sample code: No
  • Provided link: No