Modal callback function on confirm/ok and dynamic creation


Topic: Modal callback function on confirm/ok and dynamic creation

Hans Kristian asked 6 years ago

Hi

I have been looking around, however, I cannot seem to find something similar to Bootboxjs, where you can run code when the Modal has been confirmed/clicked ok. Also it can be dynamically generated without the need of having HTML on the page.

Have I missed it, or do you not have it? If not, then when do you plan on developing something like Bootboxjs?


Piotr Glejzer staff answered 6 years ago

Hi,

you didn't miss this cause we don't have anything like that. We are using HTML to create modals. Sorry about that. I can put your idea to our task to do/ideas.

Best,Piotr


Hans Kristian commented 6 years ago

I would like that very much. It is very nice to use it in tables as a confirmation for removing rows.


Piotr Glejzer staff commented 6 years ago

I put that idea so we will check it soon but I can't give you ETA for that moment. Have a nice day.


Richard answered 5 years ago

Hi, I was looking for the exact same thing... is it still in idea list or is it developping? Thx!


Mateusz Łubianka staff answered 5 years ago

Hi @Richard,

For this moment you can use callbacks which you can find here: https://mdbootstrap.com/docs/jquery/modals/basic/#events

The task with idea from the topic is on our 'to do' list now.

Best,


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
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.6.1
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No