leocaseiro / angular-chosen

AngularJS Chosen directive is an AngularJS Directive that brings the Chosen jQuery in a AngularJS way
http://leocaseiro.github.io/angular-chosen/
MIT License
682 stars 248 forks source link

Update change detection to not rely on chosen render state, but instead track select value updates #254

Closed VanTanev closed 6 years ago

VanTanev commented 6 years ago

This is a better approach to handle #59 and #221.

Instead of relying on chosen open state to decide if ngModel.$render() should trigger chosen:update, we track and compare the actual value of the