SitePoint
  • Blog
  • Forum
  • Library
  • Login
Join Premium
  1. Details
  2. Creator
  3. Content
  4. Reviews
  5. FAQ
A Beginner’s Guide to Working with Forms in Vue Cover

A Beginner’s Guide to Working with Forms in Vue

4.3

average rating (1 votes)

Created by

Kingsley Silas

Published by

SitePoint

Last Updated

27 February 2019

Details

Learn how to work with forms in Vue. We’ll start off by creating a simple form and look at how to use two-way data binding to keep user input in sync with our data model. We’ll then take a look at modifiers and filters, and finish off with validation. Each section has a runnable CodePen demo.

Description

Forms are an integral part of modern web applications. They allow us to receive input from users which we can then validate and act upon.

In this tutorial, I’m going to demonstrate how to work with forms in Vue. We’ll start off by creating a simple form and look at how to use two-way data binding to keep user input in sync with our data model. We’ll then take a look at modifiers, which allow us to change the browser’s default form-handling behavior, and filters, which allow us to format the output the user sees. We’ll finish off by implementing form validation using the VeeValidate plugin. Each section will be accompanied by a runnable CodePen demo.

By the time you’ve finished reading, you’ll have seen how easy Vue makes it to work with forms, and you’ll be able to implement all of these techniques in your own apps.

Creator

Kingsley Silas avatar

Kingsley Silas

Curious Nerd
Kingsley Silas avatar

Content

1
Preview

Reviews

Log in to write a review!

Frequently Asked Questions

A Beginner’s Guide to Working with Forms in Vue Cover

A Beginner’s Guide to Working with Forms in Vue

4.3

  • Unlimited access to this title and 600+ others in our library

  • New titles added frequently

  • Cancel anytime

Stuff we do

  • Premium
  • Newsletters
  • Forums

About

  • Our Story
  • Terms of use
  • Privacy Policy
  • Corporate Memberships

Contact

  • Contact us
  • FAQ
  • Publish your book with us
  • Write an article for us
  • Advertise

Connect

© 2000 – 2023 SitePoint Pty. Ltd.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.