Ir al contenido
Menú
Se marcó esta pregunta
6297 Vistas

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
Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 24
17083
1
nov 22
3343
4
may 15
3947
1
mar 15
6778
2
abr 25
6804