Hro
Explore posts from serversHow to close programmatically opened nuxt ui modal from within the modal
I have a modal that opens like this:
modal.open(SomeModal, {onClose() => {console.log('closed')})
When clicking outside the modal, it console logs properly, however, when I call modal.close() from inside the modal it does not.
What's the proper way to close the modal from inside? (a cancel button for example)3 replies