Workflow is an Open Source project aimed towards the creation of data flow models using config files thereby allowing you to easily create and interact with stateful applications with minimum setup.
Images are uploaded to the Minio once the user submits the form. But to enable Save as draft feature we should also save the images whenever the file upload event is triggered. In this way we can save the progress of the form.
Description
Images are uploaded to the Minio once the user submits the form. But to enable Save as draft feature we should also save the images whenever the file upload event is triggered. In this way we can save the progress of the form.
The following issue can be resolved from here: https://github.com/Samagra-Development/workflow/blob/feat/file-upload/packages/enketo-express/public/js/src/module/form-controller.js#L195
Approach:
event == fileUpload
./form/uploadFile
API.