Browse documentation

v-model

Concept. Synchronizes a named control with object state.

Table of contents

Category

Concept

Public signature

ts
JSX directive: <input name="field" v-model={state}>

Runtime behavior

v-model synchronizes a named control with an object. Its value, checked and selection behavior follows the input, checkbox, radio, select or textarea mode.