v-model
Also written: v-model.trim, v-model.number, .trim, .number
A directive that ties a form field to a ref in both directions. `.trim` strips surrounding spaces and `.number` converts the text to a number.
Also written: v-model.trim, v-model.number, .trim, .number
A directive that ties a form field to a ref in both directions. `.trim` strips surrounding spaces and `.number` converts the text to a number.