You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I trigger a flowbite Modal with Javascript. The modal pops up and I want the user to take an action and click one of the modal buttons, but the Modal doesn't close and I cannot figured out how to do that after initialising it with JS.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I trigger a flowbite Modal with Javascript. The modal pops up and I want the user to take an action and click one of the modal buttons, but the Modal doesn't close and I cannot figured out how to do that after initialising it with JS.
I followed the example code on the website (https://flowbite.com/docs/components/modal/#methods), but there the modal also doesn't do anything past initialising:
https://codepen.io/kftb/pen/VwGWEbV
How do I close the Modal from within the Modal via a button click?
Beta Was this translation helpful? Give feedback.
All reactions