Skip to content

Internet Explorer 11: Edit customer in backend leads sometimes to a "loading circle" and error object does not support method "includes" #18562

Closed
@amenk

Description

@amenk

Preconditions (*)

  1. Magento 2.2.6
  2. Internet Explorer 11

Steps to reproduce (*)

  1. Backend
  2. Customers
  3. All Customers
  4. Choose user
  5. Click edit
  6. Screen does not load, getting javascript error
    "object does not support method includes"

It is not always repeatable, but the error cause is clear (see below) and it should easily be fixable

Expected result (*)

  1. Screen loads

Solution

Do not use "includes" which is not understood by Internet Explorer 11 in

https://github.com/magento/magento2/blob/2.3-develop/app/code/Magento/Ui/view/base/web/js/form/element/country.js#L52

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions