Open gedarufi opened 9 years ago
Hi German -- can you put this in a plunk and we can work through it together? Thanks!
Here is the best solution that we have come up with so far: http://plnkr.co/edit/0yYnPCMXVSMc4HkBZYN7?p=preview
It still uses a mechanism to delay the "chosen:updated" action, but it uses AngularJS' native $timeout service (which is a bit more concise than setInterval/clearInterval). Sometimes when working with these third-party libraries, you have to give it time to catch up. That being said, if anyone can come up with a solution that does not need this work-around, we would be delighted to see it!
Maybe scope.$$postDigest would be better: http://plnkr.co/edit/9zsyEyteLKX09XJAq45g?p=preview
For any reason when i call to the rest countries the chosen don't refresh, this is my code
My HTML
I solved calling through to setInterval but i think that this not is the better way
Regards and thanks for your time