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

Warning: UploadHandler: key is not a prop #8

Open
rlupyn opened this issue Nov 17, 2016 · 4 comments
Open

Warning: UploadHandler: key is not a prop #8

rlupyn opened this issue Nov 17, 2016 · 4 comments

Comments

@rlupyn
Copy link

rlupyn commented Nov 17, 2016

Hello. I've stared working with your component recently, and found one small issue. When in a loop I display files dropped into component console fires next error

UploadHandler: 'key' is not a prop. Trying to access it will result inundefinedbeing returned. If you need to access the same value within the child component, you should pass it as a different prop.

That happens because, you try to access key property from props, in UploadHandler.js line 37, can you please fix it?

@harshinim
Copy link

I pass index as 'key' property and I don't see this issue.

@rlupyn
Copy link
Author

rlupyn commented Nov 26, 2016

@harshinim - What is the current React version in your app in bundle with this file-uploader, my is 15.4.0

@thomkrillis
Copy link

I am also experiencing this with react 15.4.1 and react-file-uploader 0.3.3.

@KalebPortillo
Copy link

+1

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

4 participants