Skip to content

Cannot read property 'filterFiles' of null #26

@shorif2000

Description

@shorif2000

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions