material-ui-upload icon indicating copy to clipboard operation
material-ui-upload copied to clipboard

Element ref was specified as a string (file-input) but no owner was set...

Open sbezugliy opened this issue 7 years ago • 6 comments

Hi, I trying to use material-ui-upload, but see an errors related to new React version:

Error: Element ref was specified as a string (file-input) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).

My env: React v16.2.0 Meteor v1.6.1 Node.js v9.4.0

Link to docs:

https://reactjs.org/warnings/refs-must-have-owner.html

https://github.com/corpix/material-ui-upload/blob/283faf3dde3f625b91e1e4ec95607b254829ed50/src/Upload/index.js#L94

sbezugliy avatar Feb 11 '18 14:02 sbezugliy

+1

wildsurfer avatar Feb 23 '18 08:02 wildsurfer

I am having the same problem . Anyone help me !

masummillat avatar Feb 28 '18 07:02 masummillat

Same issue here

ee92 avatar Mar 01 '18 00:03 ee92

same here

lfernando-silva avatar Mar 12 '18 17:03 lfernando-silva

same here

slegetank avatar Mar 27 '18 09:03 slegetank

Anyone found a workaround for this?

Lidanha avatar Nov 11 '18 08:11 Lidanha