This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.5k
Input ng-model fails to update on paste event in IE #1462
Labels
Comments
This could be related to: #1460 |
@itsleeowen Just checked with 1.0.3 and it seems to be OK (http://jsfiddle.net/nqS7n/3/). The funny thing is that it works for me with 1.0.2 as well... Tested on IE8 and IE9. Could you check once again on your side? |
@itsleeowen As indicated in my previous comment it seems to be working OK with the 1.0.3 (see the jsFiddle). Closing for now, please reopen if you still face issues (in this case please include detailed steps to reproduce). |
I think this issue occurs when you right click and paste using the context menu. I'm having the same problem in my Angular app. Keyboard shortcut paste works fine. |
markdalgleish
added a commit
to markdalgleish/angular.js
that referenced
this issue
Mar 21, 2013
In IE the model is not updated when the input value is modified using the context menu, e.g. pasting from the clipboard, or cutting all or part of the current value. To capture these changes, we bind to the proprietary 'paste' and 'cut' events. Closes angular#1462
markdalgleish
added a commit
to markdalgleish/angular.js
that referenced
this issue
Apr 16, 2013
In IE the model is not updated when the input value is modified using the context menu, e.g. pasting from the clipboard, or cutting all or part of the current value. To capture these changes, we bind to the proprietary 'paste' and 'cut' events. Closes angular#1462
petebacondarwin
pushed a commit
to petebacondarwin/angular.js
that referenced
this issue
Apr 17, 2013
In IE the model is not updated when the input value is modified using the context menu, e.g. pasting from the clipboard, or cutting all or part of the current value. To capture these changes, we bind to the proprietary 'paste' and 'cut' events. Closes angular#1462
petebacondarwin
pushed a commit
that referenced
this issue
Apr 17, 2013
In IE the model is not updated when the input value is modified using the context menu, e.g. pasting from the clipboard, or cutting all or part of the current value. To capture these changes, we bind to the proprietary 'paste' and 'cut' events. Closes #1462
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
http://jsfiddle.net/ItsLeeOwen/nqS7n/
Open IE 8 or IE 9. Copy a string, and paste into the input. The model does not update until a key event.
The text was updated successfully, but these errors were encountered: