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
Це запитання позначене
1
Відповісти
5056
Переглядів
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!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
|
3
трав. 24
|
8717 | ||
|
|
2
трав. 24
|
6104 | ||
|
|
1
вер. 15
|
7122 | ||
|
|
3
бер. 15
|
18338 | ||
|
|
2
груд. 25
|
5236 |