Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

I would like to click on the button that trigger the confirmation dialog. However, when the dialog show, I would like to update state from to "B", but If user click on confirm I would like to update state to "C"

So, simply I would like to have confirmation dialog to update the status:

confirm -> update status to "B"

cancelled -> update status to "C"


So now, I can display the confirmation dialog and update to "B" (Confirm from dialog). I wonder how can I bind the event with cancel button of dialog. 





Awatar
Odrzuć
Najlepsza odpowiedź


If you want to show a confirmation pop-up then on the button click the wizard should be opened, then confirm it should work as normal confirm, and on cancel it should update the state.
you can add the button in the wizard view:

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 24
1410
1
lut 24
1457
1
paź 23
3808
1
wrz 23
1932
2
maj 23
5801