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

There's 2 autoFocus in LoginForm, caused the react-admin app can not be rendered on IE11. #2752

Closed
keeneagle opened this issue Jan 10, 2019 · 0 comments · Fixed by #2754
Closed

Comments

@keeneagle
Copy link

When loading the page on IE, the page is blank, and there's an error in the console:
SCRIPT1046: Multiple definitions of a property not allowed in strict mode
admin-client.615b4d0f.js (111,384536)

Here's the built source code for reference:
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(redux_form__WEBPACK_IMPORTED_MODULE_2_["Field"], { autoFocus: true, id: "username", name: "username", component: renderInput, label: translate('ra.auth.username'), disabled: isLoading, autoFocus: true })),_

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

Successfully merging a pull request may close this issue.

3 participants