Samagra-Development / workflow

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.
https://samagra-development.github.io/workflow
5 stars 28 forks source link

feat: save as draft feature for image upload #24

Closed Shruti3004 closed 1 year ago

Shruti3004 commented 1 year ago

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:

amit-s19 commented 1 year ago

Done