IE11 problem in v6.7.0
See original GitHub issueThank you for answering #2468 the other day. I have found a problem in IE11 again, so I will report it.
Describe the bug
When I was using React Hook Form v6.7.0
with IE11, I got some errors as shown in the screenshot.
Also I installed @babel/runtime-corejs3
with reference to FAQs.
I think it was caused by changing the rollup settings in v6.5.1 -> v.6.5.2, but I’m not sure.
To Reproduce
- Build the following code(Production or Debug Build) and run it with IE11.
- Enter some characters in the form and click “Submit”(If you can’t reproduce it, please reload a few times).
- Get some error messages and the form does not work fine.
Specifically, after pressing The “Submit” button, the next process is not executed.
I have found this problem both Production Build
and Debug Build
.
Codesandbox link (Required) I share my repository because it’s difficult for Codesandbox to reproduce with IE11.
https://github.com/kwht-k/rhf670-ie11-reproduction
Expected behavior The error message disappear and my code works fine in IE11.
Screenshots
Desktop (please complete the following information):
OS: Windows10 Pro 64bit Browser: Internet Explorer 11 (11.1016.18362.0) Version of React Hook Form: 6.7.0 Version of @babel/runtime-corejs3: 7.11.2
Issue Analytics
- State:
- Created 3 years ago
- Comments:26 (22 by maintainers)
Top GitHub Comments
we can probably can include more as we go…
Thanks @bluebill1049 .
But I’m not sure only
Object.values
andObject.entries
are necessary. There may be others.