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.
We're having an annoying issue with the multi-select box and loading an initial value for its ng-model. For some reason it blanks the bound field on initialization. If the initial value is [12, 13, 14] - as soon as the ui-select directive is loaded it get reset to []. All the options show up OK, though. We've also made sure that when we do select values in the select box, it does indeed update the bound model in the correct format (int array, [12, 13, 14]).
Here is our markup:
<ui-selectid="Keoni_Agility_ObjectPreviewAttributes"
multipleng-model="settings.Keoni_Agility_ObjectPreviewAttributes.value"
theme="bootstrap" style="width: 100%" ><ui-select-matchplaceholder="Choose an attribute">{{$item.name}}</ui-select-match><ui-select-choicesrepeat="attr.id as attr in viewModel.generalAttributes | filter: $select.search"><div>{{attr.name}}</div></ui-select-choices></ui-select>
The options are loaded from an Object array, where we use their respective id's as their selection value.
The text was updated successfully, but these errors were encountered:
Going to close in favor of referenced issue. If that is not the issue, please open a new issue with an appropriate reproduction in Plunker based on the latest release.
We're having an annoying issue with the multi-select box and loading an initial value for its ng-model. For some reason it blanks the bound field on initialization. If the initial value is [12, 13, 14] - as soon as the ui-select directive is loaded it get reset to []. All the options show up OK, though. We've also made sure that when we do select values in the select box, it does indeed update the bound model in the correct format (int array, [12, 13, 14]).
Here is our markup:
The options are loaded from an Object array, where we use their respective id's as their selection value.
The text was updated successfully, but these errors were encountered: