You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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
All reactions