Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProFiles upload as soon as they are chosen, the form's Submit stays disabled while any upload runs or has failed with a message saying why, and the submit sends only the ids of finished uploads. Use this when large files make a single submit slow and fragile.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
A form includes large files and you want to upload them while the person fills in the rest.
Do not use it when: With small files, a normal multipart submit is simpler.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Description |
|---|---|---|
upload | Uploader<string> | Upload one file; resolve with its id. |
onSubmit | ({ title, fileIds }) => void | Promise<void> | Receives only finished uploads. |
aria-describedby says what it is waiting for (uploads, a failed upload, a missing title).The pattern ships with a Testing Library test (upload-before-submit-form.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.