Vue.js · Directive
v-model
v-model synchronizes form controls with JavaScript state. It supports text fields, textareas, checkboxes, radios, and selects, with modifiers for common input handling.
Last updated
Syntax
v-model="expression"In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
v-bindv-onv-model modifiersdefineModelmodelValueupdate:modelValue