-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Parents binding in ListView item templates is not working until ListView is refreshed. #5054
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
Comments
There are a number of syntax errors in the your Button XML line. Here is the refactored code that will work
Demo application demonstrating the above syntax can be found here. Meanwhile, it appears that you might have to manually refresh the list view to update all parents binding in the item templates. Logging this one as a bug - steps to reproduce use the linked application and |
thank you very much its working :) |
Reproducible with tns-core-modules@next |
…using an update call (NativeScript#8670) closes NativeScript#8666 closes NativeScript#6981 closes NativeScript#5054
Uh oh!
There was an error while loading. Please reload this page.
Tell us about the problem
Hello guys I have a quick question I searched forums but couldnt find answer
How can I display my observable in parents if I have 2 or 3 of them
like this:
<Button text="{{ $parents['RadListView'].name + " "+ "$parents['RadListView'].surname" ]] }}" />
This above doesnt works or only gives me one item but what if I want two of them or tree displayed ????
Which platform(s) does your issue occur on?
iOS/Android/Both
Please provide the following version numbers that your issue occurs with:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: