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
Cette question a été signalée
1
Répondre
5012
Vues
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
3
mai 24
|
8690 | ||
|
|
2
mai 24
|
6088 | ||
|
|
1
sept. 15
|
7083 | ||
|
|
3
mars 15
|
18298 | ||
|
|
2
déc. 25
|
5096 |