angular-bootstrap-multiselect
angular-bootstrap-multiselect copied to clipboard
selection not changing when initial values set
Hello,
I have a list of cuisines and set the the cuisines that should be set initially with an AJAX call and set them in the model array like this:
$scope.cuisines.push(response.data.cuisine1);
$scope.cuisines.push(response.data.cuisine2);
$scope.cuisines.push(response.data.cuisine3);
This nicely shows the selected values.
However when I remove selected cuisines and click new ones the model cuisines is not updated anymore.
The multiselect line is as following:
<multiselect ng-model="cuisines" show-search="true" search-limit="10" options="options" selection-limit="3"></multiselect>
@gvandenbosch Did you figure this out? I am having the same issue. It doesnt even work after a simple timout for me.
@bentorfs Are you still supporting this control?
I am not actively maintaining it, but I will accept proper merge requests :)
On Mon, Feb 6, 2017, 19:00 Adam Tentis [email protected] wrote:
@gvandenbosch https://github.com/gvandenbosch Did you figure this out? I am having the same issue. It doesnt even work after a simple timout for me.
@bentorfs https://github.com/bentorfs Are you still supporting this control?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/bentorfs/angular-bootstrap-multiselect/issues/28#issuecomment-277761679, or mute the thread https://github.com/notifications/unsubscribe-auth/AGFQ_BtLpHiiifVATs_KxIDSna8C5tlWks5rZ1_PgaJpZM4LQFCt .
#60
@bentorfs Can you check this #18 . I am having this issue of not updating the select field upon page load. It only works if I click on it.
@midhunadarvin The drop down label is not updated until the component is redraw