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.
I would like to just persist the item.codeId to the ng-model for myObject.stateCode, hopefully this binding would also select the correct option in the drop down when the value already exists. How do I set it up to do that?
Below is my current code.
<ui-selectng-model="myObject.stateCode" id="stateCode"><ui-select-matchplaceholder="Select a state...">{{$select.selected.codeDescription}}</ui-select-match><ui-select-choicesrepeat="item in constants.states | filter: $select.search" value="{{$select.selected.codeId}}"><divng-bind-html="item.codeDescription | highlight: $select.search"></div><smallng-bind-html="item.codeId | highlight: $select.search"></small></ui-select-choices></ui-select>