跳至內容
選單
此問題已被標幟
6305 瀏覽次數

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
17092
1
11月 22
3371
4
5月 15
3950
1
3月 15
6784
2
4月 25
6835