-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
HELP: Ember 2.8 -> Using oberver on property that has computed.alias of parentView property #14337
Comments
Can you please provide a reproduction twiddle or repo for this? I'm not sure where parentView is being set outside of the situation that is fixed in 2.8.1... |
Cannot reproduce this in 2.8.1 (twiddle), can you please provide a reproduction? Thank you! |
In progress, will post update |
Here is a reproduction |
Is there any news? |
@dimul regarding |
Any suggestions |
Passing a property from the parent component to the child component. You can explicitly yield the property or create contextual components for that. See this example with contextual components |
@dimul so far it appears this issue is more question or support related, I think you're get more feedback and help in the ember community slack, erhaps reach out in the http://embercommunity.slack.com #-help channel. |
I'm not sure I agree that this is a support issue. I think it's clearly usage of an intimate API that worked in one version of Ember and does not work in a more current version. While using an "Intimate API" can be controversial, I think you'll find more people with older apps who use In our case it was easy to move off of |
Using property like this inside nested component to observe parent components property which is boolean
This esentially creates error
simple-menu-container
- is parentsimple-menu
- is child -> expandMenu property is hereCame in with Ember 2.8, 2.7.3 works just fine
This issue
piceaTech/ember-rapid-forms/issues/134
resolves similar but different issues.
I am doing something wrong or something needs fixing?
You might think that this is the same error that was fixed in Ember 2.8.1, but please pay close attention. Fix was introduced here #14281
2.8.1 fixes problem with setting parentView to null
This error IS fixed with 2.8.1:
This error IS NOT fixed with 2.8.1
It wants me to set parentView property inside nested component to its parentComponent under which it is nested.
Problem starts when I am using an .observer('expandMenu') or any observer that observes property where parentView is involved
ember -v -verbose
The text was updated successfully, but these errors were encountered: