Closed darrenmothersele closed 4 years ago
Once completed, the Formly component versions of the audio clips widget, and image tagger widget can be updated.
Dexie supports storing binary data: https://dexie.org/docs/API-Reference#storing-binary-data also see #44
Missing ControlValueAccessor for file input #7341 https://github.com/angular/angular/issues/7341
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
The string is prefixed with C:\fakepath\, to prevent malicious software from guessing the user's file structure.
As of now, binary files and data are now supported in workflows.
There's a couple of examples on Workflow Cloud.
Leaving this issue open as legacy widgets need updating to use new protocol.
Now supports reading files from HTTP download too. As demonstrated in this Gist: https://gist.github.com/darrenmothersele/3cd3b703c8b70c874049133440707f22
The previous PouchDB-based code allowed for schemas to include "attachments" whereby binary files could be included along with metadata.
This issue is to look at a mechanism for handling binary files within the new Form builder and a mechanism for allowing binary data to form part of the data passed through workflow blocks.