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

How can I hide the edit button and display only the create button if the state = 'cancel'


I tried using <form edit  ='false'> and it works then......


I tried <form attrs="{'edit':[('state','in',('done','draft'))]}"> but don't have any effects, it will suppose to visible the edit when the state is done or draft

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mar 24
17055
1
nov 22
3322
4
mag 15
3943
1
mar 15
6771
2
apr 25
6791