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
ng-content select does not work when content is in a *ng-for loop #3397
Comments
I think this is WAI, @tbosch would know best. |
yes, this does not work right now. However, what does work is this:
I.e. we are checking the |
@tbosch The syntax in your example is now <template ng-for #item [ng-for-of]="items" class="item"> Here's a plunker of the working code for anyone else playing around with this: |
@kara yes, this is correct. |
Any update on when this will be fixed? |
This should work as of aa966f5 |
in my framework is works ^^ https://www.youtube.com/watch?v=tmKMAfzR8Ow |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
When providing an element selector to the ng-content tag, the contents are not transcluded.
Example:
my-component template
caller template
In this example, the
my-item
components are not transcluded. If they are not in a for loop, then they are picked up. example:The text was updated successfully, but these errors were encountered: