{#each selected_array as selected}
{#each values as value} {/each}

{selected.map(v => v.name).join(', ')}

{/each}