I am facing the following scenario:
I need to dynamically add an UNKNOWN number of checkboxes to a layout component, arranged in columns with 10 checkboxes per layout item.
Although I have successfully added all the checkboxes to a single div element, I am struggling to add the divs dynamically.
This is my current setup:
<md-card v-if="loaded">
<md-card-header>
<div class="md-title">SETTINGS FOR COLUMNS</div>
</md-card-header>
<md-divider></md-divider>
<md-card-content>
<div>
<b-form-checkbox
v-for="option in options"
v-bind:key="option.id"
@input="changeOptions"
:id="option.text"
v-model="option.value"
name="checkbox-1"
>
{{ option.displayName }}
</b-form-checkbox>
</div>
</md-card-content>
</md-card>
And this is the current output:
https://i.sstatic.net/HFKjb.png
My goal is to have the items neatly organized in columns with 10 checkboxes in each column.
This is the desired outcome: https://i.sstatic.net/XgCXp.png