Skip to content
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
Open
@BeerusGod

Description

@BeerusGod

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

Activity

divyang4481

divyang4481 commented on Dec 26, 2017

@divyang4481

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      bind data undefined · Issue #308 · angular-ui/ui-select2