When I'm start my app in IE11 I get blank page with two errors
SCRIPT438: Object doesn't support property or method 'contains'
SCRIPT438: Object doesn't support property or method 'repeat'
Can't find something that I can use to fix the errors.
I using useForm on Three Radio buttons with the same id in the register .
When I comment two the page Display good, but when I uncomment the rest its give me the errors(maybe because its have the same id)
my Radio comp(there two more, they look the same)
<E.Box bgColor={"#19AADD"}>
<RadioButton
svg={<HovaSvg />}
bgColor={"#19AADD"}
name={"chooseInsurance"}
label={t.INSURANCE_ONLY_HOVA}
font={true}
whiteSpace={true}
tabIndex={"0"}
setvaluefunc={setValue}
register={{
...register("chooseInsurance", { required: true }),
}}
></RadioButton>
</E.Box>
my Index file
import "react-app-polyfill/ie11";
import "react-app-polyfill/stable";
import "proxy-polyfill/proxy.min.js";
import "core-js/features/string/repeat";
import "core-js/stable";
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import { BrowserRouter } from "react-router-dom";
ReactDOM.render(
<BrowserRouter>
<App />
</BrowserRouter>,
document.getElementById("root")
);