Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3644 Vistas

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

Avatar
Descartar
Mejor respuesta

Hi,

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


Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
may 24
5994
2
may 24
3851
1
sept 15
5454
3
mar 15
15589
3
may 25
1585