Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

bind data undefined #308

Open
BeerusGod opened this issue Jul 8, 2017 · 1 comment
Open

bind data undefined #308

BeerusGod opened this issue Jul 8, 2017 · 1 comment

Comments

@BeerusGod
Copy link

BeerusGod commented Jul 8, 2017

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

@divyang4481
Copy link

I am also facing same issue when I upgrade it to angular 1.5.8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants