input type file validation error #1495
Replies: 1 comment
-
|
I will close this as it was fixed in #1604 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm mostly curious why this validation exists:
happy-dom/packages/happy-dom/src/nodes/html-input-element/HTMLInputElement.ts
Lines 795 to 802 in e6f9127
And if it can be removed or updated?
Context
I'm using
react-dropzoneand they have this line https://github.com/react-dropzone/react-dropzone/blob/c36ab5bd8b8fd74e2074290d80e3ecb93d26b014/src/index.js#L807-L808which triggers and error in
vitest+happy-domPlain JS example
https://codesandbox.io/p/sandbox/silly-kowalevski-qjrmt6
doesn't throw errors in any browser
Beta Was this translation helpful? Give feedback.
All reactions