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.
Currently uiSelectMultipleDirective, which is used if multiple is set, either uses the ngModel array (simple values), or the $parsed 'data' array for ngModel parsing / formatting (to/from view).
This means the 'data' array needs to be populated.
This is a problem if I have pre-existing (simple) values selected for ngModel. I don't want to populate the entire data array (e.g. if my data array is huge). I can't just populate the data array with the corresponding complex values, since I don't want the user to be able to select duplicates.
I think we need to add an attribute e.g. <ui-select dict='someDictionaryPromise'>, and add another conditional branch to lookup / parse value by dict?
The text was updated successfully, but these errors were encountered:
noblecraft
changed the title
resolving simple values in uiSelectMultipleDirective.js
Preselect simple value items appears, but their labels are missing
Sep 17, 2015
Currently uiSelectMultipleDirective, which is used if multiple is set, either uses the ngModel array (simple values), or the $parsed 'data' array for ngModel parsing / formatting (to/from view).
This means the 'data' array needs to be populated.
This is a problem if I have pre-existing (simple) values selected for ngModel. I don't want to populate the entire data array (e.g. if my data array is huge). I can't just populate the data array with the corresponding complex values, since I don't want the user to be able to select duplicates.
I think we need to add an attribute e.g.
<ui-select dict='someDictionaryPromise'>
, and add another conditional branch to lookup / parse value bydict
?The text was updated successfully, but these errors were encountered: