Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
6450 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
mar. 24
17222
1
nov. 22
3485
4
mai. 15
4060
1
mar. 15
6910
2
abr. 25
7019