Modal Static Events Not Working

Hi.
Continuing the discussion from Bootstrap 4 Modals:
There are 3 static events for Modals but none of them work - show, hide, hidden.
(Don’t know why shown is not present.)

image

Am I doing something wrong, or any work-arounds? I just need to call JS when modal is hidden.

@George / @Teodor Can you please confirm the bug? Or am I doing something wrong?

Try changing the static events code added to:

onshown="js_code_here" 

and

onhidden="js_code_here" 

It should be working just fine.

I see that currently it adds the static events like this:

onshown-bs-modal=""

Maybe @George can check this.

1 Like

onshown / onhidden worked.

1 Like

This has been fixed in Wappler 1.9.7

This topic was automatically closed after 3 days. New replies are no longer allowed.