Closed sheremet-va closed 3 years ago
I had this issue too and solved it by (in your case) set the correct default for inner
So I assume you have e.g.
const inner = ref(option[valueField])
// Or lazy init
const inner = ref()
// vvv Or somewhere else
onBeforeMount(() => {
inner.value = option[valueField]
})
My inner
is computed
for props.modelValue
that emits update
(like useVModel
in vueuse
)
But thanks for your help, I will try to bypass this error.
vue-tsc version: 0.2.2
I have this input (radio reference: https://v3.vuejs.org/guide/forms.html#radio):
But running
vue-tsc
gives me this error:Volar doesn't give me this error. I guess it thinks
value
fromv-model
conflicts withvalue
?If I remove
:value="option[valueField]"
component breaks.