-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I am trying the new Composition API but I am not getting v-model on a custom component working...
<custom-component v-model="something"></custom-component>
Inside the custom component, I have a prop called value and a watcher on the prop. But the watcher doesn't trigger..
export default {
props: {
value: Boolean,
},
watch(props.value, (value, value2) => {
console.info(value);
console.info(value2);
});
Metadata
Metadata
Assignees
Labels
No labels