Change Uppy object configuration on flight
See original GitHub issueHi
is there any way to change uppy options onflight in already instantiated uppy object?
I mean something like this:
const uppy = Uppy({
allowMultipleUploads: false,
restrictions: {
maxFileSize: 1000,
maxNumberOfFiles: 1,
minNumberOfFiles: 1,
allowedFileTypes: ["image/*"]
},
autoProceed: false
});
// change restrictions
uppy.setConfigs({ restrictions: { maxNumberOfFiles: null } });
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Dynamically updating options in Uppy plugins, uppy.getPlugin ...
Our fundamental need is to change the locale dynamically, but changing options of the uppy config dynamically, like meta info, ...
Read more >const - Uppy
This can be achieved by fetching the file, then creating a Blob object, or using the Url plugin with Companion.
Read more >Migration guides - Uppy
Migration guides. These cover all the major Uppy versions and how to migrate to them. Migrate from Robodog to Uppy plugins. Uppy is...
Read more >Dashboard - Uppy
Configuring this enables the “edit” button on file cards. Each object requires: id , the name of the meta field. Note: this will...
Read more >Common Plugin Options - Uppy
By default, the plugin's name is used, so usually it does not need to be configured manually. Use this if you need to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
uppy.setOptions()
API has been released in the latest@uppy/core@1.6.0
!@IvoMiranda Try https://uppy.io/docs/uppy/#uppy-close, it should destroy the instance.