Bug #18668
closed
File download from upload FE (filepond) not possible with formModeGlobal=readonly
Added by Jan Haller about 1 month ago.
Updated 27 days ago.
Description
Version 24.1.0.rc1:
If a form is opened with "formModeGlobal=readonly", it is impossible to download a previously uploaded file (FE upload, filepond). On the other hand, if the FE has mode "readonly" the download is possible.
Version develop:
No download button is shown.
![](/attachments/download/9957/clipboard-202405241231-vzjuz.png)
Files
- Description updated (diff)
- Status changed from New to In Progress
- Assignee set to Jan Haller
Cause for problem on develop:
Filepond wants to access the save button of the form which is not rendered with formModeGlobal=readony. This problem is solved by checking if the save button exists.
Cause for problem on 24.1.0.rc1 (#18670):
The problem occurs because the upload FE is inside a fieldset FE. formModeGlobal=readonly sets the fieldset to disabled which prevents <button> from registering click events. This problem is solved by setting the attribute readonly="readonly" for FE type=fieldset instead of disabled="disabled".
- Target version changed from next2 to 24.5.1
- Status changed from In Progress to Closed
Also available in: Atom
PDF