I want to bind an array to a textarea where each line in this textarea is one element in the array. I have no idea how to solve that. I already tried using a v-:change method combined with a temporary v-model to update, but that's pretty dirty.
For example:
<div v-for="item, index in list">
<b-form-textarea v-model.trim="list[index]"></b-form-textarea>
</div>
Result should look like:
list[0] = ['row1 of textarea 1', 'row 2 of textarea 1', ...]
list[1] = ['row1 of textarea 2', 'row 2 of textarea 2', ...]