Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

fix(bsSelect): Use $viewChangeListeners instead of $watch#2233

Merged
mgcrea merged 1 commit into
mgcrea:masterfrom
fbjon:fix/select-model-watch
Jun 8, 2018
Merged

fix(bsSelect): Use $viewChangeListeners instead of $watch#2233
mgcrea merged 1 commit into
mgcrea:masterfrom
fbjon:fix/select-model-watch

Conversation

@fbjon

@fbjon fbjon commented Apr 25, 2017

Copy link
Copy Markdown
Contributor

This fixes the case where ngModelOptions specify getterSetter: true. In that
case watching the ngModel attribute does nothing useful, because it will point to
a function rather than a value.

This fixes the case where ngModelOptions specify getterSetter: true. In that
case watching the ngModel attribute does nothing useful, because it will point to
a function rather than a value.

- The directive no longer deep-watches the model
- No deep-watching should also fix mgcrea#1966
@fbjon fbjon force-pushed the fix/select-model-watch branch from 63a3e22 to a580aaa Compare April 25, 2017 09:23
@fbjon

fbjon commented Apr 25, 2017

Copy link
Copy Markdown
Contributor Author

This fixes #2235.

@mgcrea mgcrea merged commit 1d2624e into mgcrea:master Jun 8, 2018
daviddutch pushed a commit to daviddutch/angular-strap that referenced this pull request Oct 27, 2018
This fixes the case where ngModelOptions specify getterSetter: true. In that
case watching the ngModel attribute does nothing useful, because it will point to
a function rather than a value.

- The directive no longer deep-watches the model
- No deep-watching should also fix mgcrea#1966
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bsSelect does not work with a Breeze entity in ngModel

2 participants