Struggling to create dynamic form components, particularly with checkboxes
<template v-if="type === 'switch'">
<b-form-checkbox
switch
size="lg"
:name="name"
:id="name"
:ref="name"
:value="value"
v-on:input.native="updateValue($event.target.value)"
>{{ value }}</b-form-checkbox
>
</template>
Shown below is how I implement the code
<FormRow
type="switch"
name="productor"
rule="required"
v-model="selectedCompany.productor"
/>
Issue arises as v-model
content does not change unlike input fields. Seeking assistance. Can someone guide me?
p.s. Utilizing bootstrap-vue for this project Thanks in advance!