Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5244 Widoki

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?


Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 19
6330
2
sie 25
2305
1
lip 25
827
1
sie 25
1150
0
maj 25
1280