Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

@for & @if directive error #11

Open
Jordan-Langton opened this issue Nov 22, 2020 · 0 comments
Open

@for & @if directive error #11

Jordan-Langton opened this issue Nov 22, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Jordan-Langton
Copy link
Owner

If you update an array in the _Rendered() lifecycle that an @for is watching and there is an @if inside. The interpolation for the for loop hasn't updated yet, which causes the @if to see "#[ value ] == true#" and causes an error.

@Jordan-Langton Jordan-Langton added the bug Something isn't working label Nov 22, 2020
@Jordan-Langton Jordan-Langton self-assigned this Nov 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant