VInput checkbox default value isn't applied.
Closed this issue · 2 comments
mgambill commented
The initial value isn't setting properly on checkbox.
<VInput label="Checkbox Item" type="checkbox" v-model="checkboxValue" />
data(){ return { checkboxValue: true } }
should be able to add the following to the component to fix:
:checked="$attrs.type === 'checkbox' && value === true"
AustinGil commented
This will be fixed in the next release.
AustinGil commented
Just published 0.4.5 with this fixed