Skip to content

parentComponent does not provide values #1262

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

Closed
dmattia opened this issue Jun 21, 2019 · 0 comments · Fixed by #1301
Closed

parentComponent does not provide values #1262

dmattia opened this issue Jun 21, 2019 · 0 comments · Fixed by #1301

Comments

@dmattia
Copy link

dmattia commented Jun 21, 2019

Version

1.0.0-beta.29

Reproduction link

https://gist.github.com/dmattia/5b99dc2584ec8241f84b30b5476b6ff3

Steps to reproduce

Run the linked test. The first two tests pass as expected, but the third test fails because: Injection "val" not found

What is expected?

I would expect that using a parentComponent would inject data to the component being mounted.

What is actually happening?

The only injected values to the child component are those that are passed explicitly through the provide option during mounting.

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

Successfully merging a pull request may close this issue.

1 participant