Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3666 Представления

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
6038
2
мая 24
3905
1
сент. 15
5490
3
мар. 15
15616
3
мая 25
1629