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

t-esc="item.description" in a slot in a t-call in a t-foreach: only description of the last item is displayed #1565

Open
Polymorphe57 opened this issue Dec 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Polymorphe57
Copy link
Contributor

see on playground

@sdegueldre
Copy link
Contributor

Caused by the fact that target.loopLevel is lost accross t-call boundaries, therefore context capture doesn't occur, not obvious how to fix, since a template can be t-called from multiple places, some inside loops and others not. Maybe we should just always capture on t-call in t-foreach?

@ged-odoo
Copy link
Contributor

ged-odoo commented Dec 8, 2023

hmm, this is annoying indeed

@sdegueldre sdegueldre added the bug Something isn't working label Jun 18, 2024
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

3 participants