aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMikk Kirstein2013-05-14 20:14:06 +0300
committerIgor Minar2013-07-11 14:58:35 -0700
commit09a1e7af129880cab89a2f709f22a7286f52371e (patch)
treee1abe6086fb1c31b1dbfc448ae5ec035cc0ff0a8 /src
parent52d6a5990225439ac9141398d83e0d4e6134b576 (diff)
downloadangular.js-09a1e7af129880cab89a2f709f22a7286f52371e.tar.bz2
fix(ngValue): made ngValue to write value attribute to element
Diffstat (limited to 'src')
-rw-r--r--src/ng/directive/input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 0c0b2df8..2d3210d5 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -1335,7 +1335,7 @@ var ngValueDirective = function() {
} else {
return function(scope, elm, attr) {
scope.$watch(attr.ngValue, function valueWatchAction(value) {
- attr.$set('value', value, false);
+ attr.$set('value', value);
});
};
}