Topic: Mdbootstrap - django - htmx

eirik_nordbo priority asked 1 month ago


Hi. I am building an app in Django and using mdbootstrap in the front. To make the app run smoothly i use htmx, but i am running into problems with the mdbootstrap elements because of the init. How can i solve this? Is it possible to use htmx and mdbootstrap alongside?

Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.)


Kamila Pieńkowska staff answered 1 month ago


Yes it is possible. But elements that are added after pageload need to be initiated with JS, since autoinit is performed on the pageload.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.2.0
  • Device: Pc
  • Browser: Edge
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No