This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
[1.3-beta16] ngModel $parsers regression vs. v1.2 #7965
Closed
Description
I'm having issues with the AngularStrap datepicker in the latest v1.3 beta.
Basically, I've found out that the ngModel $parsers won't be called if $setViewValue
is called multiple times with the same value/reference. It was the case in the v1.2 branch.
This is be problematic when we are using objects that change values but keep the same reference (such as Dates).
Check the following plunkers (console.warn):
- v1.2: http://plnkr.co/edit/PuleeGHkLHj3RvYSobs5?p=preview
- v1.3: http://plnkr.co/edit/yRL4JR0aVY3kDGgwLXX2?p=preview
Might be related to this commit