I have my dialog with some form. when user click positive button if form has errors they should be shown and dialog shouldn't dismiss. if all are validated then it should be closed. when neagative button clicked, dialog should dismiss. how can i achieve this?
I have my dialog with some form. when user click positive button if form has errors they should be shown and dialog shouldn't dismiss. if all are validated then it should be closed. when neagative button clicked, dialog should dismiss. how can i achieve this?