Published On Dec. 22nd 2016

Learn Vue 2: Step By Step: Object-Oriented Forms: Part 2

Episode 20 Run Time 13:15

Download

Now that we have our validation error handling in place, we can move on to extracting a dedicated Form class. This class can be responsible for resetting itself, submitting the AJAX request to our server, and more. Ready to dig in?

Once you finished this lesson, it's over to you. How might you expand these two classes two simplify your form interaction even further? Get started, and then let us know what you came up with in the comments.

The completed source code for this lesson is available on GitHub.