Topic: materialSelect not working to display the dropdown boxes
Expected behavior I have to make 2 dynamic dropdown boxes that take input from an array and show them as their options. I am using $(".mdb-select").materialSelect(); to show these dropdowns.
Actual behavior The problem that I am facing is that one of the dropdowns is working fine but not the other one is not. When I write this command 2 times for both of these dropdowns separately it shows them 2 twice and the new dropdowns both are working fine but on the screen, I have 4 dropdowns. So can anyone help me with this?
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/jquery/dcmhsdi/1382765/ here I have written my code, you can have a look
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.10
- Device: Thinkpad
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: Yes