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
Denna fråga har flaggats
1
Besvara
4999
Vyer
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Njuter du av diskussionen? Läs inte bara, delta också!
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 | |
|---|---|---|---|---|
|
|
3
maj 24
|
8674 | ||
|
|
2
maj 24
|
6075 | ||
|
|
1
sep. 15
|
7079 | ||
|
|
3
mars 15
|
18291 | ||
|
|
2
dec. 25
|
5053 |