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
This question has been flagged
1
Odpoveď
5004
Zobrazenia
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrácia| Related Posts | Replies | Zobrazenia | Aktivita | |
|---|---|---|---|---|
|
|
3
máj 24
|
8677 | ||
|
|
2
máj 24
|
6079 | ||
|
|
1
sep 15
|
7079 | ||
|
|
3
mar 15
|
18295 | ||
|
|
2
dec 25
|
5060 |