From 2b7302713674506fdbcdc396c38f18dcb90dee8c Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Mon, 16 Dec 2013 13:06:16 -0500 Subject: fix(input): setViewValue on compositionend Because of a4e6d962, model is not updated on input/change between the compositionstart and compositionend events. Unfortunately, the compositionend event does not always happen prior to an input/change event. This changeset calls the listener function to update the model after a compositionend event is received. Closes #6058 Closes #5433 --- src/ng/directive/input.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ng/directive/input.js') diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 3c09c084..09e07d36 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -447,6 +447,7 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { element.on('compositionend', function() { composing = false; + listener(); }); } -- cgit v1.2.3