Dialog Plugin - No OK dismiss
-
I think it would be useful to have a noOkDismiss property on the Dialog plugin.
In my case I would like to keep the dialog open until my asynchronous API functions complete and then I would dismiss it manually.
-
Have a look at the “invoking your own component” section.
https://quasar.dev/quasar-plugins/dialog#Invoking-custom-component
Notice the
onOKClick()
method. That gives you the control you are looking for, I believe.Scott
-
@stuartcusack using @s-molinari 's suggestion, you can pass additional props, and make a check in your custom dialog. like here https://codepen.io/metalsadman/pen/MWwmVdV?editors=1010