watch on aatventure.news

Laravel Livewire: Parent-Child Form Example

Livewire is great for interactivity in forms, let me show you an example with an order-products form.

2020-10-05 19:00:00 - Laravel

Content:

00:00​ - Intro: About Project

01:04​ - Why Livewire vs jQuery/Vue

02:52​ - Live-Coding: Starting Point

05:14​ - Installing/Enabling Livewire: "Hello"

07:08​ - Livewire Component with Properties Mount 

09:40​ - Add Product Button: Wire-Click 

12:09​ - Delete Product: Method with Parameter

13:37​ - Wire-Model: Binding Data

14:53​ - How/When Data is Refreshed

16:11​ - Final Testing and Conclusion


Repository:

https://github.com/LaravelDaily/Livewire-Parent-Child-Master-Detail

More Posts