Example of two-way-binding in Vue textarea Component

Two-way binding

This sample demonstrates two-way binding support of the TextArea component. Enter a value in any textareas to see an action.

In this sample, the two-way binding support is achieved using the v-model directive in Vue. When you change a value in the textarea, another textarea's value updates automatically.

The v-model directive updates the template every time whenever the model gets updated and vice versa.