Skip to content
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

Maybe not IE11 compatible? #19

Closed
Knusperchicken opened this issue Aug 27, 2020 · 3 comments
Closed

Maybe not IE11 compatible? #19

Knusperchicken opened this issue Aug 27, 2020 · 3 comments

Comments

@Knusperchicken
Copy link

Hello,

I just saw that the package react-hook-form is being imported here. I haven't yet tried out myself but now I'm wondering if this package (error-message) is not IE11 compatible. If so, would it be possible to make it IE11 compatible by using the IE11 version of react-hook-form somehow?

Thanks in advance.

@h0jeZvgoxFepBQ2C
Copy link

If you are using webpack, you can set something like this to make it automatically IE11 conform:

environment.config.merge({
  resolve: {
    alias: {
      "react-hook-form": "react-hook-form/dist/index.ie11",
    }
  },

@Knusperchicken
Copy link
Author

Sorry for the delay. I'll try your suggestion and then report back as soon as I get the chance 👌🏻

@Knusperchicken
Copy link
Author

Here I am again 🙂 Your suggestion seems to work fine, thank you 🍪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants