Topic: bootstrap modal with target id name containing dot in name does not work

Yiannis Kyriazidis free asked 2 years ago

I have a modal to launch where the data-mdb-target id has a dot (.) in the name because it is server side generated. How do I get it to work in this case ?


Michał Duszak staff commented 2 years ago

Hello, since adding a dot into an id attribute could be troublesome, I prepared a little workaround. You just have to create event listeners and instances for each new modal.

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: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: windows desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes