Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4894 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 19
6026
1
čvn 25
610
0
kvě 25
785
2
dub 25
2760
1
úno 25
1069