Open anjanesh opened 1 year ago
I don't think that the right argument is passed into the modal.
It looks more like the whole modal is shown in the console. Including the onShow
itself :-)
Sorry. Good luck figuring this out.
@zoltanszogyenyi
it would be usefull to have some kind of reference in onShow() function to the object that is being shown. I stumbled upon this with TABS - how can I see which tab is being shown in its onShow() method?
using flowbite's modal using javascript
onclick="modal.show(546)"
index is showing as [Object] which is the modal element.
https://gist.github.com/anjanesh/c77423bfc7cdc31f391ca81a76a11ac3