Intro to Validating Forms with Vuetify
Validating Inputs
Validating Forms
Refactoring to a VideoEditForm Component
Review of Validating Forms with Vuetify
0% done with Validating Forms with Vuetify

Chapter 7 of 27 in Building
Refactoring to a VideoEditForm Component

We want to be able to use our form and validations in multiple places - specifically, the video creation page and video edit page. Otherwise, we'd have to replicate our increasingly-complex fields between two different pages, along with the code for validating the form.

The abstraction we'll use to solve this problem is a Vue Component. We can remove most of the repetition, and pass in props for the parts of the forms that differ.

What do others think of VueScreencasts?
"Have looked at so many Vue.js tutorials, your videos are the best ones!"
—Nathan Yang
"Short, precise, step-by-step, beginner-friendly and clear."
—Naty Java
"Excellent video! Great work. Subscribed."
—Alexandros Markovic
"At 14:22... it was exactly that question which I had in mind seconds before!"
—Henning Sieh
Take your career to the next level