-
Notifications
You must be signed in to change notification settings - Fork 439
select2 dropdown selected value doesn't get updated with the updated model #110
Comments
My guess is you're using angular 1.2 |
I am working with sanathko on a project that uses select2. The fix here does address the problem we were having but now it has introduced a new problem. The new problem is as follows: |
@DomClaxton Hi DomClaxton, I too have the same issue with slect2 js with Angular. Did you find any fix for this? |
I too have the same issue with slect2 js with Angular. Anybody please tell me.. |
Me pasa lo mismo con el angularjs y el select2 |
I use the latest select2 api (select2-3.4.5) and my html for select 2 looks like this.
I am performing a save call in my controller which saves the model and reloads the saved model back. This is done inside the following block.
all my text fields gets loaded with the updated data and when I printout {{mymodel}}, I can see the updated model.
I performed save and update call inside $scope.$apply with the intention of updating the dom elements.
after the update when I expand the dropdown (select2), I can see the correctly updated value selected inside the select options.
but select2-container which has
Is this an issue with select 2 or am I missing anything?
The text was updated successfully, but these errors were encountered: