Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
6348 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 24
17144
1
thg 11 22
3414
4
thg 5 15
3993
1
thg 3 15
6820
2
thg 4 25
6880