Topic: Selected Options on a 'Searchable mdb-select' are not shown

luzonline pro asked 4 years ago


*Expected behavior*The current 'selected' option must be displayed on the input form

*Actual behavior*An empty value is shown and when opening the dropdown with the search form, the correct selected option item is selected

enter image description here

enter image description here



Could you please try to add the .md-selected class to your select?


luzonline pro commented 4 years ago

Well done, Thank you for your help.


Thomas Emmanuel free commented 4 years ago

Hello, It dint wrk for me!.

Should i reinitialize the select after adding the class ".md-selected"?

Thanks



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Linux Ubuntu
  • Provided sample code: No
  • Provided link: No