Topic: Selected Options on a 'Searchable mdb-select' are not shown
luzonline pro asked 5 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
Bartłomiej Malanowski staff answered 5 years ago
Could you please try to add the .md-selected
class to your select?
luzonline pro commented 5 years ago
Well done, Thank you for your help.
Thomas Emmanuel free commented 5 years ago
Hello, It dint wrk for me!.
Should i reinitialize the select after adding the class ".md-selected"?
Thanks
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- 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