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
To pytanie dostało ostrzeżenie
1
Odpowiedz
5013
Widoki
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
3
maj 24
|
8693 | ||
|
|
2
maj 24
|
6089 | ||
|
|
1
wrz 15
|
7085 | ||
|
|
3
mar 15
|
18328 | ||
|
|
2
gru 25
|
5100 |