...

/

Using `v-model` to Create a Custom Form Control

Using `v-model` to Create a Custom Form Control

Learn how to build your own form controls in Vue.

Custom form controls or, more precisely, custom input elements are a staple of innovative and modern web applications. There are countless possibilities for custom inputs—the only boundary is our creativity. Thanks to Vue’s implementation of two-way binding, we can turn almost any interaction into a ready-to-use form element.

Two-way binding repetition and further understanding

Let’s do a quick repetition of how Vue generates two-way binding out of v-model and how we can rebuild ...