Topic: Initialize accordion dynamic

Kevin priority asked 3 months ago

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:

Do you have a solution for it? It would be great.

Best regards Kevin

Kevin 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

Kamila Pieńkowska staff answered 3 months ago

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • 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