Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'filterFiles' of null #26

Open
shorif2000 opened this issue Apr 16, 2018 · 0 comments
Open

Cannot read property 'filterFiles' of null #26

shorif2000 opened this issue Apr 16, 2018 · 0 comments

Comments

@shorif2000
Copy link

i have followed the instruction but it is not working

npm install --save redux-file-upload

import { FileUpload } from 'redux-file-upload'

<FileUpload
		                allowedFileTypes={['jpg', 'pdf']}
		                data={{ type: 'picture' }}
		                dropzoneId="fileUpload"
		                url="/api/admin/upload/content/management/upload/format/json"
		              >
		                <button>
		                  Click or drag here
		                </button>
		              </FileUpload>

when i add a file i get error Uncaught (in promise) TypeError: Cannot read property 'filterFiles' of null....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant