Topic: Selected Options on a 'Searchable mdb-select' are not shown
*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 pro premium answered 6 years ago
Could you please try to add the .md-selected
class to your select?
luzonline pro commented 6 years ago
Well done, Thank you for your help.
Thomas Emmanuel commented 6 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
- User: 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