Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2430 Visualizzazioni

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. 





Avatar
Abbandona
Risposta migliore


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:

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 24
1544
1
feb 24
1608
1
ott 23
4074
1
set 23
2040
2
mag 23
6039