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
TypeError: Right-hand side of 'instanceof' is not an object (FileList) #494
Comments
Yes, we need to add support for FileList. |
Got an error while using in React environment, it's pointing to this line: https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/ReactInputSelection.js#L62 |
…d-side-of-instanceof-is-not-an-object-filelist #494@minor: Adds support for FileList to HTMLInputElement.
@Newbie012 @josteph There is now a fix in an adds support for FileList 🙂 You can read more about the release here: |
I'm getting the following error:
which points to the following line in react-hook-form:
It looks like FileList is being evaluated as
undefined
.The text was updated successfully, but these errors were encountered: