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

Dynamic attributes don't work with components #80

Closed
Kalabasa opened this issue Nov 26, 2022 · 2 comments
Closed

Dynamic attributes don't work with components #80

Kalabasa opened this issue Nov 26, 2022 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@Kalabasa
Copy link

Kalabasa commented Nov 26, 2022

Example code:

// a.webc
<b foo="xyz" />
// b.webc
<div>
  <c :foo="foo" />
</div>
// c.webc, foo is undefined here
<img :src="foo" />
@Kalabasa Kalabasa changed the title Dynamic attributes don't work with JS render functions Dynamic attributes don't work with components Nov 30, 2022
@zachleat zachleat added the bug Something isn't working label Nov 30, 2022
@zachleat
Copy link
Member

Reproduced! This bug is with consuming dynamic attributes from a parent component

@zachleat zachleat added this to the WebC v0.8.0 milestone Nov 30, 2022
@zachleat
Copy link
Member

zachleat commented Nov 30, 2022

This will ship with WebC v0.8.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants