Hello Mchiaelb,
I think that component expected a boolean value and you passed a integer value.
You did try construct the computed property? like this:
export default {
data () {
return {
book: {'owned': 1},
ownedOptions: [
{label: 'We have this book', value: 1},
{label: 'Wish list', value: 0}
]
},
computed: {
form: {
get () {
return this.book.owned === 1
},
set (value) {
this.book.owned = value ? 1 : 0
}
}
}
}
Regards,
Bruno Meurer