Skip to Content
Menú
This question has been flagged
6283 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
2
de març 24
17051
1
de nov. 22
3304
4
de maig 15
3940
1
de març 15
6762
2
d’abr. 25
6790