Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230059

Ionic Vue nested list - connected arrays

$
0
0

I still didn’t solve this but an update:
I am using a Map now. like this

const trackMap =  ref<Map<number, Track[]>>();

whereas the key number is the Record.id. the second ion-item line looks like this

<ion-item :key="track.id" v-for="track in trackMap[record.id]">

however this doesn’t work. the map is correctly filled but somehow there is no two-level nested display of the records with its tracks. but only the first level of the records. no error. no tracks. does someone has an idea?


Viewing all articles
Browse latest Browse all 230059

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>