why v-model:kebab-case not work when used with @update:kebab-case ?
Vue version
3.2.41
Link to minimal reproduction
Steps to reproduce
<demo v-model:foo-bar="modelVal" @update:foo-bar="update" />
What is expected?
v-model:kebab-case
and @update:kebab-case
all work.
What is actually happening?
v-model:kebab-case
not work,@update:kebab-case
work.
but if change to v-model:fooBar
, they were all work. I see the compile result,v-model:kebab-case
compile to onUpdate:foo-bar
, @update:kebab-case
compile to onUpdate:fooBar
, this should be the reason ?
System Info
No response
Any additional comments?
No response