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 pregunta ha sido marcada
1
Responder
5006
Vistas
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
3
may 24
|
8685 | ||
|
|
2
may 24
|
6080 | ||
|
|
1
sept 15
|
7079 | ||
|
|
3
mar 15
|
18295 | ||
|
|
2
dic 25
|
5069 |