Open steph150 opened 9 months ago
Changing the value to allowUpload="true"
or allowUpload="{Boolean}true"
enables upload as expected.
Changing the value to allowUpload="${not empty cqDesign.allowUpload ? cqDesign.allowUpload : true}"
(default to true) does not enable upload
Changing the value to allowUpload="${true}"
(hard-coded eval to true) does not enable upload.
It's not an issue with ${cqDesign.allowUpload}
being set - I can confirm it is set by plugging it in as the value
for another field and displaying "true" in the field.
As best as I can tell, the allowUpload
attribute for the fileupload field does not evaluate expressions.
Bug Report
Current Behavior Checking the "Allow upload from file system" checkbox in the design dialog doesn't update the "Download Asset" section to allow local file system upload.
Expected behavior/code The "Download Asset" should allow for local file system upload.
Environment