Closed cherimo closed 5 years ago
HI @cherimo I reviewed your case and was able to recreate the issue for both Android and iOS. I am attaching a sample project that I used for testing as a reference. On that matter, I will mark this as a bug and we will investigate it further. Currently, I was unable to find a solution that can workaround the problem.
HI @cherimo,
We reviewed again the issue and the ngSwitchCase
seems to work as expected in RadListView. Perhaps, the issue is connected to binding the wrong object to the ngSwitch
. I've made the same mistake in my sample project and when I replace [ngSwitch]="item.status"
with [ngSwitch]="country.status"
, the directive start to work properly. As a reference, I am attaching the sample project with the edit.
Tell us about the problem
I am using ngSwitch to show some specific status label, but when I swipe the item and tapping the item to change the status, the current status label hides but the correct label doesn't show up. When I scroll off screen and right back the correct label appears.
Which platform(s) does your issue occur on?
Only iOS (Android tested, works fine)
Please provide the following version numbers that your issue occurs with:
I am using the latest version of Nativescript and Radlistview
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
This is my HTML code:
Is there a way to force re-rendering again for the item? Without having to scroll down and up again?
Thank you