You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding listFiles={false} as a prop to the FileUploaderButton will result in ReactDOM throwing the following warning to console:
Warning: React does not recognize the 'listFiles' prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase 'listfiles' instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Hey @imp-dance - sorry for the confusion here, it looks like listFiles should have been removed as a prop in v10 but was missed. It's not being used in any capacity and is just spread onto the label, which causes this error.
Package
carbon-components-react
Browser
Firefox
Package version
^10.27.0
Description
Adding
listFiles={false}
as a prop to theFileUploaderButton
will result in ReactDOM throwing the following warning to console:CodeSandbox example
https://codesandbox.io/s/carbon-components-react-fileuploaderbutton-error-vq49z
Steps to reproduce
listFiles
prop set tofalse
.Expected result: No errors/warnings in console
Actual result: ReactDOM outputs warning in console.
Code of Conduct
The text was updated successfully, but these errors were encountered: