ConsenSysMesh / rimble-ui

React components that implement Rimble's Design System.
https://rimble.consensys.design/
MIT License
462 stars 67 forks source link

`onChange` event does not fire when using file `<Input type="file" />` component #359

Closed pythonpete32 closed 4 years ago

pythonpete32 commented 4 years ago

Describe the bug when using the component onChange does not fire an event

To Reproduce Steps to reproduce the behavior: <Input type="file" onChange={(e) => console.log(e)} /> {/* Broken */}

Returns undefined Expected behavior event to be logged to console

Screenshots If applicable, add screenshots to help explain your problem.

Rimble UI Version

0.9.7

gesquinca commented 4 years ago

Hello @pythonpete32, thank you for finding this. It should be fixed in the latest version of the package. Let us know if it is working properly now.

pythonpete32 commented 4 years ago

thanks it's working