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.
s.molinari last edited by s.molinari
Have a look at the “invoking your own component” section.
onOKClick()method. That gives you the control you are looking for, I believe.
metalsadman last edited by
@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