Skip to Content
Menu
This question has been flagged
6301 Views

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
Discard
Related Posts Replies Views Activity
2
Mar 24
17086
1
Nov 22
3354
4
May 15
3949
1
Mar 15
6784
2
Apr 25
6822