Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2441 Представления

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
1546
1
февр. 24
1614
1
окт. 23
4078
1
сент. 23
2042
2
мая 23
6041