-
Notifications
You must be signed in to change notification settings - Fork 62
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
Update react-dropzone dependency #814
Conversation
Good job. I think otherProps is necessary but I'll be review when this component will be migrated to TS. |
Because I don't see what kind of others props can be passed for an input file ? |
Others props can be all html input attributes as aria, id, ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Le onChange ne sort pas les erreurs au même format. Mais c'est mieux maintenant.
Vu avec @LunarzFR , il manque le preview dans le onChange
528d352
to
ae57eee
Compare
SonarCloud Quality Gate failed. |
J'ai push ma modif avec le preview dans le onChange :) |
Fixes #796
Description
I've updated the react-dropzone dependency for the FileInput component.
The update had an impact on the component so I did a little refacto.
Question
I have a question about the ...otherProps, are they really necessary ? And if so, what are they used for in the case of this component?