Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4917 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
gen 19
6052
1
giu 25
649
0
mag 25
805
2
apr 25
2797
1
feb 25
1079