Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
5208 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
tammik. 19
6288
2
elok. 25
2226
1
heinäk. 25
760
1
elok. 25
1150
0
toukok. 25
1260