Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

lastSelected is always undefined #30

Open
livtanong opened this issue Nov 9, 2014 · 2 comments · May be fixed by #33
Open

lastSelected is always undefined #30

livtanong opened this issue Nov 9, 2014 · 2 comments · May be fixed by #33

Comments

@livtanong
Copy link

Applies whether or not valueattr is set.

selectedItem and selectedItemChanged methods declare "old" as a parameter, but I don't see any calls modified to pass this argument.

@livtanong
Copy link
Author

Figured the problem. lastSelected needs reflect: true.

publish: {
  lastSelected: {
    value: null,
    reflect: true
  }
},

livtanong added a commit to livtanong/core-animated-pages that referenced this issue Nov 12, 2014
@rileycrane
Copy link

+1 Having the same issue, can we get this merged?

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

Successfully merging a pull request may close this issue.

2 participants