defineModel not support calling methods expression
FreeLiC opened this issue · comments
Steven Li commented
Vue version
3.4.21
Link to minimal reproduction
Steps to reproduce
open get error duplicate model name "modelValue"
What is expected?
get error
What is actually happening?
System Info
No response
Any additional comments?
No response
Thorsten LĂĽnborg commented
Yes, thats expected. Model names need to be statically defined to be available at compile time, just like normal props
Steven Li commented
@LinusBorg But v-model can bind calling methods expression. Is this a problem?
Thorsten LĂĽnborg commented
I dont see how that should be a problem