Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2274 มุมมอง

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. 





อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด


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:

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 24
1411
How to put image in error pop up? แก้ไขแล้ว
1
ก.พ. 24
1463
1
ต.ค. 23
3814
1
ก.ย. 23
1937
2
พ.ค. 23
5805