Skip to content

Required validation failed on IE 11 #2233

Closed
@SeriaWei

Description

@SeriaWei

After update the version to 1.18, I found the required validation is not work on IE 11.

I did some debug and found isContentEditable always true on IE11

<input type="text" id="userName" name="userName" class="form-control" data-val="true" data-val-required="Please input your name">

Debug info

image

the $element has value
image

I found 'isContentEditable' is from this commit:
7c22d68

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions