Your Teacher | Jeffrey Way's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on Jun 19th, 2020

You're currently familiar with one-direction data binding; however, often you'll require two-way binding in your forms. It's not enough to bind a value to an input. We also need to listen for when the input's value changes, and update the underlying data. We can allow for this by using x-model. In this episode, we'll review what precisely happens when you add this attribute to a form input. Then, as a small demo, we'll use that data to submit an AJAX request to a fake server.

View the source code for this episode on GitHub.

Discuss It


  1. Section 1 The Essentials

    1. Let's Build a Memory Game

      Free Episode 28:20
    2. Data Binding

      Free Episode 4:47
    3. Two-Way Data Binding

      Free Episode 9:59
    4. Transitions 101

      Free Episode 8:17
    5. Transitions 102

      Free Episode 6:44
    6. Handling Custom Events

      Free Episode 9:09
  2. Section 2 TodoMVC Workshop

Laravel Shift
Back to Series Button