Closed matthew-dean closed 7 months ago
I want some way to force single instances of modals.
If two modals are given the same modalId, only one of them should appear on the screen at one time.
I tried to use the onBeforeMount and useVfm to destroy the existing modal with the same id, but it's not working.
Is your feature request related to a problem? Please describe.
I want some way to force single instances of modals.
Describe the solution you'd like
If two modals are given the same modalId, only one of them should appear on the screen at one time.
Describe alternatives you've considered
I tried to use the onBeforeMount and useVfm to destroy the existing modal with the same id, but it's not working.
Additional context