コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5216 ビュー

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?


アバター
破棄
最善の回答

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.

アバター
破棄
関連投稿 返信 ビュー 活動
1
1月 19
6297
2
8月 25
2231
1
7月 25
768
1
8月 25
1150
0
5月 25
1260