Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
5234 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
janv. 19
6321
2
août 25
2281
1
juil. 25
815
1
août 25
1150
0
mai 25
1274