You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ListView w/"itemTemplates" (multiple templates) cannot be used with TabView #4678
In Nativescript 3.0, I cannot use two or more ListView with itemTemplates together in the same page. They are not displayed and when I try to access one through by id with Javascript, I get a undefined element even it exists on xml page
@jgraffite I can confirm that indeed when ListView with multiple templates is nested within TabView it is not rendered (nor the TabView). Loggin this as a bug.
Steps to reproduce - nest a ListView with multiple ItemTemplates within TabView
or use this test project.
Reproducible with tns-core-modules 3.1.0 on iOs and Android.
changed the title [-]Two ListView with "itemTemplates" cannot be used together on same page/view[/-][+]ListView w/"itemTemplates" (multiple templates) cannot be used with TabView[/+]on Aug 10, 2017
Activity
NickIliev commentedon Aug 9, 2017
@jgraffite using this sample application I was able to successfully create and use two list views with
ItemTemplatesCheck the events responsible for the items binding and if the event where you are trying to get the ID is included in your XML file.
jgraffite commentedon Aug 10, 2017
Ok. I will test it. But try to test it inside a tabview
NickIliev commentedon Aug 10, 2017
@jgraffite I can confirm that indeed when ListView with multiple templates is nested within TabView it is not rendered (nor the TabView). Loggin this as a bug.
Steps to reproduce - nest a ListView with multiple ItemTemplates within TabView
or use this test project.
Reproducible with
tns-core-modules 3.1.0on iOs and Android.[-]Two ListView with "itemTemplates" cannot be used together on same page/view[/-][+]ListView w/"itemTemplates" (multiple templates) cannot be used with TabView[/+]hshristov commentedon Oct 7, 2017
This is fixed with 3.2
lock commentedon Aug 27, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.