You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12-3
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,7 @@ $rootScope.$digest();
241
241
242
242
243
243
-**$compile/ngBind:** due to [3660fd09](https://github.com/angular/angular.js/commit/3660fd0912d3ccf6def8c9f02d8d4c0621c8d91f),
244
-
244
+
245
245
The value of `$binding` data property on an element is always an array now
246
246
and the expressions do not include the curly braces `{{ ... }}`.
247
247
@@ -283,7 +283,7 @@ Closes #8811
283
283
284
284
-**input:**
285
285
- due to [29f0b568](https://github.com/angular/angular.js/commit/29f0b568debab7810752969d363d337099e96cdc),
286
-
286
+
287
287
288
288
According to the HTML5 spec `input[time]` should create dates
289
289
based on the year 1970 (used to be based on the year 1900).
@@ -302,7 +302,7 @@ error is gone. The error will be stored on `ngModel.$error`.
302
302
303
303
304
304
-**ngEventDirs:** due to [719c747c](https://github.com/angular/angular.js/commit/719c747cd892ee933e7e414a7dc97e657b88317d),
305
-
305
+
306
306
The `blur` and `focus` event fire synchronously, also during DOM operations
307
307
that remove elements. This lead to errors as the Angular model was not
308
308
in a consistent state. See this [fiddle](http://jsfiddle.net/fq1dq5yb/) for a demo.
@@ -1645,6 +1645,15 @@ this limitation, use a regular expression object as the value for the expression
1645
1645
1646
1646
//after
1647
1647
$scope.exp = /abc/i;
1648
+
1649
+
-**NgModel:** due to [f3cb2741161353f387d02725637ce4ba062a9bc0](https://github.com/angular/angular.js/commit/f3cb2741161353f387d02725637ce4ba062a9bc0),
1650
+
1651
+
#### since 1.3.0-beta.11
1652
+
1653
+
If the user enters a value and a parser or validator fails, the model will be set to `undefined`.
1654
+
This is the same behavior as in 1.2.x, but different to 1.3.0-beta.11, as there only invalid parsers
1655
+
would set the model to `undefined`, but invalid validators would not change the model.
1656
+
1648
1657
-**Scope:** due to [8c6a8171](https://github.com/angular/angular.js/commit/8c6a8171f9bdaa5cdabc0cc3f7d3ce10af7b434d),
1649
1658
Scope#$id is now of time number rather than string. Since the
1650
1659
id is primarily being used for debugging purposes this change should not affect
0 commit comments