Closed Alecckie closed 2 years ago
You can use a custom button for ok and cancel, in that case the handle of closing the dialog is up to you using dialog.dismiss(), whenever a validation or any other logic pass.
Works perfectly ... thanks.
Custom button with Navigator.pop
works perfectly.
this works for me
Thank you for your awesome plugin. When processing a form using the dialog, I'd like to be able to perform some field validation upon OK Button click without closing the dialog first, then close the dialog manually upon successful validation.
Is there a method like,
closeDialogOnOk:false
with an option todialog.dismiss()
for manual dismissing?