Skip to Content
Menu
This question has been flagged
2 Replies
4926 Rodiniai

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 🙂

Portretas
Atmesti
Best Answer

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', 'in', ('resolved','new','in progress')]}"

Thanks

Portretas
Atmesti
Best Answer

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', '=', 'resolved')]}"

Thanks


Portretas
Atmesti
Autorius

I tried this one .. particular this state is getting readonly .. I need all the states to be readonly

Related Posts Replies Rodiniai Veikla
2
kov. 24
2468
3
liep. 23
5772
1
spal. 22
8590
1
liep. 22
2184
1
geg. 21
6478