Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

ngModel not updating with input type="search" clear button in IE #13256

Closed
aderowbotham opened this issue Nov 5, 2015 · 1 comment
Closed

Comments

@aderowbotham
Copy link

When using an input type="search" field with AngularJS 1.4.7 in IE 9, 10 or 11: When you click the search clear / cancel button rendered inside the field (after entering text) in Internet Explorer the model value does not reset to '' or undefined.

Example HTML:

<input ng-model="searchVal" type="search">
<p>searchVal = {{ searchVal }}</p>

http://plnkr.co/edit/zE2qMMfaJK11KYfUWZzr?p=preview

Model updates as expected in Chrome and Safari.

@Narretz
Copy link
Contributor

Narretz commented Nov 5, 2015

This is the same issue as #11193

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

No branches or pull requests

2 participants