Orkhan's Blog on software development

Vue.js v-model binding on custom components

When working with form elements, Vue’s v-model directive comes useful for 2-way data binding. But when you create your own custom form components and wrap input elements inside, it becomes hard to maintain the same 2-way binding with custom form component and parent component.

read more