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
Looking at the "Dialog" documentation, there doesn't appear to be a way to configure a dialog so that if the user tries to close the dialog (using the close button or escape key or whatever) then that can be interrupted with a confirmation.
Here's an example of a confirmation appearing on Facebook when closing an "Edit post" dialog:
Confirm.mp4
I would like to recreate this behavior with a PrimeVue dialog for not just the close button, but also the escape key or clicking the modal background.
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
-
Looking at the "Dialog" documentation, there doesn't appear to be a way to configure a dialog so that if the user tries to close the dialog (using the close button or escape key or whatever) then that can be interrupted with a confirmation.
Here's an example of a confirmation appearing on Facebook when closing an "Edit post" dialog:
Confirm.mp4
I would like to recreate this behavior with a PrimeVue dialog for not just the close button, but also the escape key or clicking the modal background.
Beta Was this translation helpful? Give feedback.
All reactions