You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
long story short, i have some async calls to api to get the ng-model initialized/updated accordingly. However, it doesn't update view of a multiple select right after..
i "sometimes" get some throw: "Error: [ui.select:multiarr] Expected model value to be array but got '5'"
altho it shouldn't be the case since the ng-model doesn't get updated from user input at that time but i suspect some race conditions between ngmodel->view and view->ngmodel
here is a simple plunker forked from the example: http://plnkr.co/edit/mhQW9aCjoAir1DzVMPUk?p=preview
just a timeout push to multipleDemo.colors, there you see the ngmodel gets updated but select input is not..
no problem for non-multiple selects..
The text was updated successfully, but these errors were encountered:
long story short, i have some async calls to api to get the ng-model initialized/updated accordingly. However, it doesn't update view of a multiple select right after..
i "sometimes" get some throw: "Error: [ui.select:multiarr] Expected model value to be array but got '5'"
altho it shouldn't be the case since the ng-model doesn't get updated from user input at that time but i suspect some race conditions between ngmodel->view and view->ngmodel
here is a simple plunker forked from the example:
http://plnkr.co/edit/mhQW9aCjoAir1DzVMPUk?p=preview
just a timeout push to multipleDemo.colors, there you see the ngmodel gets updated but select input is not..
no problem for non-multiple selects..
The text was updated successfully, but these errors were encountered: