Hello I would like to know is there an attribute that allows me to block a field after another is written, that is, it is not written in it if another is true
La domanda è stata contrassegnata
1
Rispondi
4998
Visualizzazioni
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
3
mag 24
|
8674 | ||
|
|
2
mag 24
|
6075 | ||
|
|
1
set 15
|
7079 | ||
|
|
3
mar 15
|
18291 | ||
|
|
2
dic 25
|
5053 |