angular-bootstrap-multiselect icon indicating copy to clipboard operation
angular-bootstrap-multiselect copied to clipboard

selection not changing when initial values set

Open gvandenbosch opened this issue 8 years ago • 5 comments

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 avatar Dec 18 '16 08:12 gvandenbosch

@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?

atentis avatar Feb 06 '17 18:02 atentis

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 .

bentorfs avatar Feb 06 '17 19:02 bentorfs

#60

midhunadarvin avatar Apr 09 '18 14:04 midhunadarvin

@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 avatar Apr 09 '18 14:04 midhunadarvin

@midhunadarvin The drop down label is not updated until the component is redraw

labrute avatar Jan 24 '19 14:01 labrute