Intro to Validating Forms with Vuetify
0:34
Validating Inputs
11:17
Validating Forms
2:49
Refactoring to a VideoEditForm Component
6:36
Review of Validating Forms with Vuetify
1:59
0% done with Validating Forms with Vuetify

Chapter 7 of 27 in Building VueScreencasts.com
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?
"Thank you for putting in the effort to make these videos and share with all!"
—Ritika Singh
"Great video."
—Sanjay Gyawali
"Excellent! Top Vue tutorials I've found."
—Igor Špánik
"Great vídeo and an interesting approach"
—joão Petinga
Take your career to the next level