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
Dette spørgsmål er blevet anmeldt
1
Svar
5019
Visninger
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
3
maj 24
|
8697 | ||
|
|
2
maj 24
|
6089 | ||
|
|
1
sep. 15
|
7092 | ||
|
|
3
mar. 15
|
18331 | ||
|
|
2
dec. 25
|
5116 |