Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4900 Vizualizări

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 🙂

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Ashutosh,

Try this,

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

Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Ashutosh,

Try this,

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

Thanks


Imagine profil
Abandonează
Autor

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

Related Posts Răspunsuri Vizualizări Activitate
2
mar. 24
2456
3
iul. 23
5741
1
oct. 22
8573
1
iul. 22
2145
1
mai 21
6469