Skip to content

fix: #8666 #6981 #5054#8670

Merged
NathanWalker merged 4 commits into
NativeScript:masterfrom
CatchABus:master
Jun 30, 2020
Merged

fix: #8666 #6981 #5054#8670
NathanWalker merged 4 commits into
NativeScript:masterfrom
CatchABus:master

Conversation

@CatchABus
Copy link
Copy Markdown
Contributor

@CatchABus CatchABus commented Jun 24, 2020

PR Checklist

What is the current behavior?

Reference '$parents' or '$parent' can be undefined when included in expressions that are nested inside a ListView or a Repeater.
Playground Sample: https://play.nativescript.org/?template=play-js&id=TERk3c&v=11

Note: A component sample called 'parents-expression' is included inside ui-tests-app list-view section.

What is the new behavior?

Parent referenced expression-values will be loaded properly using an 'update' call just like core already does with sourceProperties.

Fixes #8666 #7983 #6981 #5054

@cla-bot cla-bot Bot added the cla: yes label Jun 24, 2020
@NathanWalker
Copy link
Copy Markdown
Contributor

Nice work @dimitrisrk thank you 👍

@NathanWalker NathanWalker merged commit 6b0028a into NativeScript:master Jun 30, 2020
@NathanWalker
Copy link
Copy Markdown
Contributor

NathanWalker pushed a commit that referenced this pull request Aug 7, 2020
NathanWalker pushed a commit that referenced this pull request Aug 7, 2020
tarunama pushed a commit to tarunama/NativeScript that referenced this pull request Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Expression with '$parents' reference(s) inside ListView

2 participants