Ad spot

About This Episode

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.

Published on Dec 22nd, 2016.

Ad spot

Episodes

    1. Basic Data Binding

      EPISODE 1 4:13 Free
    2. Setup Vue Devtools

      EPISODE 2 3:03 Free
    3. Lists

      EPISODE 3 5:27 Free
    4. Vue Event Listeners

      EPISODE 4 5:04 Free
    5. Attribute and Class Binding

      EPISODE 5 5:57 Free
    6. Components 101

      EPISODE 7 5:02 Free
    7. Components Within Components

      EPISODE 8 2:36 Free
    8. Named Slots in a Nutshell

      EPISODE 14 5:54 Free
    9. Webpack and vue-cli

      EPISODE 16 9:31 Free
    10. Hot Module Replacement

      EPISODE 17 3:48 Free
    11. Vue Ajax Requests With Axios

      EPISODE 18 8:01 Free
    12. Object-Oriented Forms: Part 1

      EPISODE 19 17:00 Free
    13. Object-Oriented Forms: Part 2

      EPISODE 20 13:15 Free
    14. Object-Oriented Forms: Part 3

      EPISODE 21 8:30 Free
    15. Webpack Config From Scratch

      EPISODE 22 18:30 Free
    16. This is Laravel Mix

      EPISODE 23 10:14 Free
    17. Shared State 101

      EPISODE 24 4:28 Free
    18. Custom Input Components

      EPISODE 25 8:38 Free
    19. Vue SPA Essentials: Routing

      EPISODE 26 16:50 Free
    20. SPAs and the Backend

      EPISODE 27 15:01 Free
    21. Vue Filters

      EPISODE 28 2:30 Free
    22. Dedicated Form Components

      EPISODE 29 14:08 Free
    23. Testing Vue: Part 1

      EPISODE 30 13:05 Free
    24. Vue Component Responsibility

      EPISODE 31 8:36 Free
    25. Vue Subclassing

      EPISODE 32 4:42 Free
    26. Scoped Slots

      EPISODE 33 7:55 Free
    27. Vue Portal Use Case #2

      EPISODE 38 7:04
    28. Reusability

      EPISODE 40 7:08
    29. Reusability: Part 2

      EPISODE 41 15:19
    30. Fixed to the Top

      EPISODE 42 11:15
    31. Tooltips Three Ways

      EPISODE 44 18:17
    32. Count Up

      EPISODE 47 14:54
Ad spot
Back to Series Button