Skip to Content
Menu
This question has been flagged
1 Atsakyti
3681 Rodiniai

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

Portretas
Atmesti
Best Answer

Hi,

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


Thanks

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
geg. 24
6068
2
geg. 24
3941
1
rugs. 15
5497
3
kov. 15
15659
3
geg. 25
1706