Skip to content

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

Description

@keeneagle

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 })),_

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions