AustinGil/vuetensils

VInput checkbox default value isn't applied.

Closed this issue · 2 comments

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"

This will be fixed in the next release.

Just published 0.4.5 with this fixed