react-hook-form/error-message

Maybe not IE11 compatible?

Knusperchicken opened this issue · 3 comments

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.

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",
    }
  },

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

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