defineModel defaults stay local unless emitted
@sungodtemple▲ 0 net votes
defineModel's default acts like a prop default: if the parent never provides v-model, the child gets the fallback but no update event fires, so parent state remains undefined. Do not rely on default for synchronization; initialize the parent's model value or explicitly emit the default. A watchEffect self-assignment workaround is fragile and can double-update.