|
@@ -139,6 +139,8 @@ Optionally, provide rules and conditions to limit the type and/or number of file
|
|
|
|
|
|
> If you’d like to force a certain meta field data to be entered before the upload, you can [do so using `onBeforeUpload`](https://github.com/transloadit/uppy/issues/1703#issuecomment-507202561).
|
|
> If you’d like to force a certain meta field data to be entered before the upload, you can [do so using `onBeforeUpload`](https://github.com/transloadit/uppy/issues/1703#issuecomment-507202561).
|
|
|
|
|
|
|
|
+> If you need to restrict `allowedFileTypes` to a file extension with double dots, like `.nii.gz`, you can do so by [setting `allowedFileTypes` to just the last part of the extension, `allowedFileTypes: ['.gz']`, and then using `onBeforeFileAdded` to filter for `.nii.gz`](https://github.com/transloadit/uppy/issues/1822#issuecomment-526801208).
|
|
|
|
+
|
|
### `meta: {}`
|
|
### `meta: {}`
|
|
|
|
|
|
Metadata object, used for passing things like public keys, usernames, tags and so on:
|
|
Metadata object, used for passing things like public keys, usernames, tags and so on:
|