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

Commit 077ee37

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

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
@@ -2022,6 +2022,12 @@ But in practice this is not what people want and so this change iterates over pr
20222022
in the order they are returned by Object.keys(obj), which is almost always the order
20232023
in which the properties were defined.
20242024

2025+
- **ngOptions:** due to [7fda214c](https://github.com/angular/angular.js/commit/7fda214c4f65a6a06b25cf5d5aff013a364e9cef),
2026+
2027+
setting the ngOptions attribute expression after the element is compiled, will no longer trigger the ngOptions behavior.
2028+
This worked previously because the ngOptions logic was part of the select directive, while
2029+
it is now implemented in the ngOptions directive itself.
2030+
20252031
- **select:** due to [7fda214c](https://github.com/angular/angular.js/commit/7fda214c4f65a6a06b25cf5d5aff013a364e9cef),
20262032

20272033
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)