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

Commit b268c0b

Browse files
committed
docs(changelog, migration): add BC notice for setting ngOptions as attribute
Caused by 7fda214 Closes #13145
1 parent b0c19f8 commit b268c0b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1870,6 +1870,12 @@ But in practice this is not what people want and so this change iterates over pr
18701870
in the order they are returned by Object.keys(obj), which is almost always the order
18711871
in which the properties were defined.
18721872

1873+
- **ngOptions:** due to [7fda214c](https://github.com/angular/angular.js/commit/7fda214c4f65a6a06b25cf5d5aff013a364e9cef),
1874+
1875+
setting the ngOptions attribute expression after the element is compiled, will no longer trigger the ngOptions behavior.
1876+
This worked previously because the ngOptions logic was part of the select directive, while
1877+
it is now implemented in the ngOptions directive itself.
1878+
18731879
- **select:** due to [7fda214c](https://github.com/angular/angular.js/commit/7fda214c4f65a6a06b25cf5d5aff013a364e9cef),
18741880

18751881
the `select` directive will now use strict comparison of the `ngModel` scope value against `option`

docs/content/guide/migration.ngdoc

+4
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ But in practice this is not what people want and so this change iterates over pr
189189
in the order they are returned by Object.keys(obj), which is almost always the order
190190
in which the properties were defined.
191191

192+
Also due to [7fda214c](https://github.com/angular/angular.js/commit/7fda214c4f65a6a06b25cf5d5aff013a364e9cef),
193+
setting the ngOptions attribute expression after the element is compiled, will no longer trigger the ngOptions behavior.
194+
This worked previously because the ngOptions logic was part of the select directive, while
195+
it is now implemented in the ngOptions directive itself.
192196

193197
### select
194198

0 commit comments

Comments
 (0)