In this video, we will learn how to implement dependent dropdowns in Laravel Livewire using select2. Dependent dropdowns are a common feature in web applications that allow users to select a value from one dropdown, and then filter the options in another dropdown based on the selected value.
select2 is a JavaScript library that provides a number of enhancements to native HTML select elements, including:
Search functionality
The ability to select multiple options
A more user-friendly interface
What you will learn in this video:
How to install and configure select2 in Laravel
How to create a Livewire component for dependent dropdowns
How to handle events and update the options in the dependent dropdown
How to style the select2 elements
You can find me on:
Twitter: @CodeWithTonyDev
GitHub:
Laravel Hosting: ?REFERRALCODE=1TONY55
Latest Playlists:
Laravel Multi-Language:
Filament V3 Tutorial:
Laravel Event Project:
Laravel Spade Employees Management:
React Authentication:
Vue Authentication:
7 views
43
11
2 months ago 00:07:17 9
Code Review of Pan: Repositories, ENUMs, Value Objects
2 months ago 00:05:12 1
Laravel Separate Admin Model and Guard: WHY?
2 months ago 00:17:53 4
So I’ve tried 3 popular Laravel CMSs...
2 months ago 00:03:50 1
Laravel Validation: required_with and required_without_all
2 months ago 00:50:04 1
v2, pledging to Open source, and Pans
2 months ago 01:53:45 3
The Laravel Livestream 🚀 Text To Ads
2 months ago 00:35:58 1
Creating the first Livewire component
2 months ago 01:29:31 2
Laravel Livewire Crash Course | Livewire 3 Tutorial for Beginners in 1.5 Hours
2 months ago 00:07:37 2
Automated Tests in Filament: Practical Example
2 months ago 00:03:45 2
Laravel Policies: Add Custom Methods
2 months ago 00:05:34 1
Laravel Form Request Authorize() Method: Useless?
2 months ago 00:05:14 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #18 - Infinite Scroll part 2
2 months ago 00:12:33 5
Laravel vs Symfony CRUD: Live-Coding Demo
2 months ago 00:08:45 3
9 Laravel/PHP Tips in 8 Minutes: September 2024
2 months ago 00:05:04 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #18 - Infinite Scroll part 1
2 months ago 00:14:33 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #17 - Follow functionality
2 months ago 02:17:12 1
Ep-21: Laravel Kanban Board ✅ Create New Labels
2 months ago 00:05:53 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #16 - Profile Page part 3
2 months ago 00:07:45 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #16 - Profile Page part 2
2 months ago 00:45:33 1
North Meets South - 164 - Dynamic images, Livewire slots, and API-based file uploads
2 months ago 00:08:12 4
My Personal Livewire Starter Kit
2 months ago 00:03:47 1
Laravel Route::bind() with Group Parameter
2 months ago 00:05:35 1
Let’s build a Twitter clone with Livewire 3 & Laravel Reverb | #15 - Profile page part 1