Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial bound values are not fully propagated [can 4.0 pre] #354

Open
Alfredo-Delgado opened this issue Nov 16, 2017 · 1 comment
Open
Assignees
Labels

Comments

@Alfredo-Delgado
Copy link

In this example, <source-component /> will always set a default person -- undefined is not allowed.

<h3>Hello [demoContext/{{./person}}]</h3>
  
<source-component person:bind="./person" />
<clear-button person:bind="./person" />

When the app loads, the default is only present in <source-component />. It works as expected when the value is set afterward.

licecap

Here's the code: https://codepen.io/Alfredo-Delgado/pen/OOxqog?editors=1011

Related to #325

@Sinjhin Sinjhin self-assigned this Nov 17, 2017
@Sinjhin
Copy link
Contributor

Sinjhin commented Nov 17, 2017

This will be reverted to the regular 3.x behavior with this commit to major: eff681b

For explaination, see: #325 (comment)

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

No branches or pull requests

2 participants