DynamicForm.Lifecycle.Uploads (DynamicForm v1.0.0)

Copy Markdown View Source

LiveView upload wiring for file questions using direct-to-cloud uploads.

allow/2 registers an upload config per file question on the socket, with an external presigner (see DynamicForm.DirectUpload) and a progress callback that folds completed uploads into the form's changeset.

Internal module — not part of the public API.

Summary

Functions

Registers an upload config on the socket for every file question in the instance, configured from the question's metadata.

Functions

allow(socket, instance)

Registers an upload config on the socket for every file question in the instance, configured from the question's metadata.