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 has been archived by the owner on Oct 2, 2019. It is now read-only.
Look at the multi-select demo examples, all the them have the select options initialised.
In my case, I want to load the HTML and then call the http service to initialise the selection options, which gives me the $select.selected is undefined error.
To workaround that problem, I have to manually initialize the option to an empty array, then get the http service to load the data.
My request is whether ui-select should initialise the options to an empty array automatically in the case of multi-select, so we don't need to manually do that.
The text was updated successfully, but these errors were encountered:
Look at the multi-select demo examples, all the them have the select options initialised.
In my case, I want to load the HTML and then call the http service to initialise the selection options, which gives me the $select.selected is undefined error.
To workaround that problem, I have to manually initialize the option to an empty array, then get the http service to load the data.
Example in plunker - http://plnkr.co/edit/F0jCYug8MQuV1tXU4jlX?p=preview
For the example, in the script.js file, if you comment out link 45, the multi-select won't work.
My request is whether ui-select should initialise the options to an empty array automatically in the case of multi-select, so we don't need to manually do that.
The text was updated successfully, but these errors were encountered: