This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
bind data undefined #308
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels
Activity
divyang4481 commentedon Dec 26, 2017
I am also facing same issue when I upgrade it to angular 1.5.8