List View data binding in NS-Vue


#1

Hello I’m trying to filter an array which is a listview would be displaying but I have to bind the data with which the array contents would be tested. here is a sample code https://play.nativescript.org/?template=play-vue&id=tbkonz&v=2


#2

ite.deadline < filterDate will always be false in your loop therefore list will have 0 items.


#3

so what am I supposed to do?


#4

is it possible to bind the “for” in Listview?


#5

Use computed property instead of binding your filter in for.