support backtrack path in export {^to-parent} bindings #2132

Closed
whitecolor opened this Issue Dec 10, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@whitecolor
Contributor

whitecolor commented Dec 10, 2015

Hm it is working 2.3.4
http://jsbin.com/jonekemapo/1/edit?html,js,console,output

and not working on latest.
http://jsbin.com/jasuvokigu/1/edit?html,js,console,output

attribute should be exported to upper scopes using backtrack paths {^selected-year}="../year"

<comp-one>
  {{#innerMap}}
  <year-selector  {^selected-year}="../year"></year-selector>      
  {{/innerMap}}  
  <br>on self: {{year}}<br>
  <br>on inner: {{innerMap.year}}<br>
</comp-one>

So year attribute be exported to <comp-one> viewModel.

@whitecolor

This comment has been minimized.

Show comment
Hide comment
@whitecolor

whitecolor Dec 10, 2015

Contributor

@justinbmeyer When are you planing to fix latest version? 2.3.4 has some bugs (i.e. lacks this #2123) and 2.3.5 has another bugs that don't allow to use it.

Contributor

whitecolor commented Dec 10, 2015

@justinbmeyer When are you planing to fix latest version? 2.3.4 has some bugs (i.e. lacks this #2123) and 2.3.5 has another bugs that don't allow to use it.

@justinbmeyer justinbmeyer added the bug label Dec 15, 2015

@justinbmeyer justinbmeyer added this to the 2.3.7 milestone Dec 15, 2015

@justinbmeyer justinbmeyer self-assigned this Dec 15, 2015

@justinbmeyer

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer Dec 15, 2015

Contributor

@whitecolor I'm planning on working on it now.

Contributor

justinbmeyer commented Dec 15, 2015

@whitecolor I'm planning on working on it now.

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