The Joyfill SDK provides comprehensive image upload functionality through image fields, supporting both single and multiple image uploads with flexible handling options. Architecture Overview When users interact with image fields, the SDK triggers onUpload events that your application must handle by implementing the FormChangeEvent protocol. ParametersDocumentation Index
Fetch the complete documentation index at: https://docs.joyfill.io/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Description |
|---|---|---|
| fieldEvent | FieldIdentifier | Contains metadata about the field requesting upload |
| target | String? | The target action for the upload |
| multi | Bool | Whether multiple files are allowed |
| schemaId | String? | Schema identifier for table/collection fields |
| parentPath | String? | Path to parent field for nested structures |
| rowIds | [String]? | Array of row IDs for table fields |
| columnId | String? | Column identifier for table fields |
| uploadHandler | ([String]) -> Void | Callback function to provide uploaded URLs |
- User taps image field → SDK creates UploadEvent
- Your onUpload handler receives the event
- You present image picker/camera
- Process selected images (resize, upload to server, etc.)
- Call event.uploadHandler([urls]) with final URLs
- SDK updates the form with the provided URLs