In a simple vertical linear list view layout, it appears that the item templates for a RadListView will incorrectly render duplicate values/view nodes across multiple items in the list, if the node is given a null value.
For example, if the item template contains the following:
<Label text={{@item.name}} />
Where some of the members in the backing data list contain null for @item.name, those particular items are rendering a non-null value from another member in the list. This seems to happen due to that <Label> node being recycled incorrectly.
However, if you modify the template to the following:
<Label text={{if @item.name @item.name ""}} />
So that null/empty values instead pass an empty string to the <Label>, the issue does not occur.
In a simple vertical linear list view layout, it appears that the item templates for a RadListView will incorrectly render duplicate values/view nodes across multiple items in the list, if the node is given a
null
value.For example, if the item template contains the following:
Where some of the members in the backing data list contain
null
for@item.name
, those particular items are rendering a non-null value from another member in the list. This seems to happen due to that<Label>
node being recycled incorrectly.However, if you modify the template to the following:
So that null/empty values instead pass an empty string to the
<Label>
, the issue does not occur.