跳至内容
菜单
此问题已终结
5796 查看

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

形象
丢弃
相关帖文 回复 查看 活动
2
3月 24
16618
1
11月 22
2628
4
5月 15
3569
1
3月 15
6303
2
4月 25
5982