Episode 25 Run Time 8:38
You'll surely come across instances in your own projects, where you'd like to wrap a form input within a custom component. This way, you can have a single place to attach all custom sanitization, validation, and behavior. However, in the process, you'll also find that the useful
v-model directive no longer works the way it usually does.
In this episode, we'll learn exactly what Vue's
v-model does, and then review how to make it work on any custom component. View the demo for this lesson on GitHub.