Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5393 Tampilan

i have googled this a lot and so far i can only see either using confirm="Confirmation message"(which displays the dialog regardless of condition) or creating a wizard to achieve this.

is there any other way?


Avatar
Buang
Jawaban Terbai

Here's one way to implement it. Add 2 buttons - one with the  confirm="Confirmation message" and one without it. Add an attrs="{'invisible': [...]}" condition to the buttons to conditionally make them visible so that the button with the confirm="Confirmation message" is visible only when your condition is fulfilled.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jan 19
6431
2
Agu 25
2701
1
Jul 25
1082
1
Agu 25
1151
0
Mei 25
1507