Topic: Initialize accordion dynamic
Dear MDB-Team,
how is it possible to initialize Accordions only if they are in the view of user and to initialize form like select in the accordion only if the accordion is open and update the labels of the form. I created some code but it doesn't work fine like the accordion does not open.
The snippet: https://mdbootstrap.com/snippets/standard/max16/6041350#js-tab-view
Do you have a solution for it? It would be great.
Best regards Kevin
Kamila Pieńkowska
staff answered 3 months ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 7.2.0
- Device: Computer
- Browser: Chrome
- OS: Windows 11
- Provided sample code: No
- Provided link: Yes
Kevin pro premium priority commented 3 months ago
In the snippet the the accordion opens but in my dynamic code the accordion would be initialize but it doesn't work fine and sometimes I get the error that mdb is not defined