I have 4states ... Like:- new, in progress, resolved and cancelled... All states are clickable only ... So i wanted to do .. when it is in resolved state all three should be readonly ...
Thank you 🙂
I have 4states ... Like:- new, in progress, resolved and cancelled... All states are clickable only ... So i wanted to do .. when it is in resolved state all three should be readonly ...
Thank you 🙂
Hi Ashutosh,
Try this,
field name = "state" attrs="{'readonly': [('state', 'in', ('resolved','new','in progress')]}"
Thanks
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
2
mars 24
|
4399 | |||
|
3
juli 23
|
8071 | |||
|
1
okt. 22
|
10895 | |||
|
1
juli 22
|
3545 | |||
|
1
maj 21
|
8545 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.