Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
6317 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
бер. 24
17101
1
лист. 22
3384
4
трав. 15
3957
1
бер. 15
6793
2
квіт. 25
6855