Presently, I am working with a dynamic form-checkbox input element.
<b-form-group label="Skills">
<b-form-checkbox-group v-model="form.selected" :options="options"/>
</b-form-group>
However, I am looking to enhance this functionality by adding a number input next to each option and linking them together.
I attempted to achieve this using a v-for loop, but I encountered difficulties in linking them so that the v-model destination would resemble the following structure for each selected option:
form {
{ selected: checkboxName,
number: 5
},
{ selected: checkboxNameTwo,
number: 2
},
}
If anyone has any suggestions or guidance on how to accomplish this, it would be greatly appreciated.
Sincerely, Fox