v-model is sugar for a value prop plus an update event — perfect for form inputs. This lesson covers practical patterns, syntax, and mistakes to avoid.
Two-Way Binding with v-model
v-model is sugar for a value prop plus an update event — perfect for form inputs.
On components, it defaults to modelValue + update:modelValue (configurable).