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 Sep 8, 2020. It is now read-only.
I use angular-ui-select2. <select ui-select2 ng-model="vm.salonStaffModel.type"> <option ng-repeat="occ in vm.categoriesType" value="{{occ.key}}"> {{occ.key}}</option> </select>
I bind data to vm.salonStaffModel.type successfully, when I select value from dropdown list. But when I refresh page, the value is undefined, although vm.salonStaffModel.type has right value, which I have selected before. Thanks!
I use angular-ui-select2.
<select ui-select2 ng-model="vm.salonStaffModel.type"> <option ng-repeat="occ in vm.categoriesType" value="{{occ.key}}"> {{occ.key}}</option> </select>
I bind data to vm.salonStaffModel.type successfully, when I select value from dropdown list. But when I refresh page, the value is undefined, although vm.salonStaffModel.type has right value, which I have selected before. Thanks!
You can reference https://stackoverflow.com/questions/44984566/angular-ui-select2-bind-data-undefined?noredirect=1#comment76944027_44984566 for more detail
The text was updated successfully, but these errors were encountered: