Comments (5)
👍 thx for reply @cgwyllie @felixrieseberg
from react-dropzone-component.
Actually I need to put headers in disConfig
from react-dropzone-component.
So the Dropzone.js config accepts headers as an option: http://www.dropzonejs.com/#config-headers
I guess the React-Dropzone-Component config
prop would pass that through to the Dropzone.js underneath?
from react-dropzone-component.
That should be exactly how it works - does it not work for y'all?
from react-dropzone-component.
djsConfig={{ headers: { Authorization: "Bearer " + localStorage.getItem("token"), }, }}
from react-dropzone-component.
Related Issues (20)
- How to restrict image upload size to 5MB
- Allow to upload only pdf files works on desktop but doesn't work on mobile phone's?
- What is the correct latest version? HOT 2
- React 16 migration (lifecycle methods) HOT 3
- Params do not works HOT 2
- How do I append file(s) to formData? HOT 1
- I need to set withCredentials property to true. How can I do that using provided API?
- How can we updated group permissions using PNP HOT 5
- Trigger success indicator (checkmark) appear when using 'no-url' option
- how get upload progress value in djsConfig
- findDOMNode is deprecated in StrictMode.
- Unable to set dynamic acceptedFiles in react-dropzone-component HOT 2
- next/image is not working with react-dropzone-component
- Pass more parameters in useDropzone
- how to set inital files HOT 2
- Upload .pptx file using Dropzone
- 'DropzoneComponent' does not have any construct or call signatures HOT 2
- Inappropriate file formats are attached on the android phone HOT 1
- Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- Issue with disabling drag and drop functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-dropzone-component.