Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3642 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

Hi,

You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"


Thanks

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
трав. 24
5993
2
трав. 24
3851
1
вер. 15
5454
3
бер. 15
15589
3
трав. 25
1584