Multiple templates in repeater


can I use multiple templates in repeater?


Repeater is more of a for loop, so it doesn’t support multiple templates. May I know why you don’t prefer a ListView


because I have complex view inside template I have accordion like view which I made I’m hiding and showing it on tap, plus I have drop down and textfields in this view when its not hidden and one submit button.
so I need to decetd tap or other events on individual elements, why I don’t do this with listview is I dont need item tap, I mean tap on template in any area is dectected as item tap in listview


With Angular or Vue we have if conditions that can be applied in a for loop. So you have to do this programatically or extend your own repeater class to support templates.


unfortunatelly i’m on NS core


Yes, I knew. My last point was for you.