We ran into the issue that the @model decorator does not support dashes for the variable name.
With this setup:
Child component
@Model({ name: 'list-view', }) public listViewValue: boolean;
Parent component
v-model:list-view="listView"
It throws: Property "list-view" was accessed during render but is not defined on instance.
When i try to use 'listview' as a single word it works and doesn't show any errors in the console.
I couldn't find any other issues on this nor see it explained in the docs so my question is, is this a on purpose or a known issue?
Or am I somehow misusing this decorator?