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
Esta pergunta foi sinalizada
1
Responder
5024
Visualizações
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
3
mai. 24
|
8701 | ||
|
|
2
mai. 24
|
6091 | ||
|
|
1
set. 15
|
7096 | ||
|
|
3
mar. 15
|
18332 | ||
|
|
2
dez. 25
|
5127 |