-
Notifications
You must be signed in to change notification settings - Fork 247
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
inputProps are not being respected #235
Comments
panz3r
pushed a commit
that referenced
this issue
Aug 18, 2020
panz3r
pushed a commit
that referenced
this issue
Aug 18, 2020
Hello, how it's going on this bug? Can I help? |
Hi @grahamlangford and @cadrimiranda , Thanks for your feedback, the fix to this issue is included as of version In the meanwhile to install the latest version you can use ❯ npm i yuvaleros/material-ui-dropzone#v3.4.1 (the same also works with |
rtritto
pushed a commit
to rtritto/material-ui-dropzone-2
that referenced
this issue
Jun 6, 2021
rtritto
pushed a commit
to rtritto/material-ui-dropzone-2
that referenced
this issue
Jun 8, 2021
rtritto
pushed a commit
to rtritto/material-ui-dropzone-2
that referenced
this issue
Jun 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Describe the bug
I'm trying to apply a data-testid prop to the native input using the inputProps prop of DropzoneArea, but the prop is lost before reaching the input. React Devtools shows that DropzoneArea has the correct prop, but Dropzone isn't receiving it.
I looked at DropzoneAreaBase, and inputProps is spread to the input before getInputProps. The react-dropzone docs state:
Steps to reproduce
Expected behavior
Versions
@material-ui/core
version: [e.g. 4.9.2]material-ui-dropzone
version: [e.g. 3.0.1]Additional context
The text was updated successfully, but these errors were encountered: