Is it possible to show fields only if a file is selected in a files field? I can’t get it to work, so I wonder if this is not implemented.
I.e: Show some fields for image settings only if an image is selected in a files field.
Is it possible to show fields only if a file is selected in a files field? I can’t get it to work, so I wonder if this is not implemented.
I.e: Show some fields for image settings only if an image is selected in a files field.
No, this is not possible, because the files field doesn’t return true
or false
. You’d have to set a specific value but even that would not work because the content of the files field is stored as yaml
.
Alright. I created a feature request for this.