8 Dependent Select Input - Laravel Filament Tutorial

preview_player
Показать описание
In this video, we are going to create a dependent select input.

Laravel 9 tutorial.
Laravel 9 full tutorial.
Laravel Filament tutorial.
Laravel Filament full tutorial.

Support me:
Referral Hosting

Follow me:

Playlists:
#laravel #laraveller
Рекомендации по теме
Комментарии
Автор

Dependent Select Input - Laravel Filament Tutorial

tonyxhepaofficial
Автор

I love that your tutorials are so easy to understand, especially for those of us who are new to Laravel and Filament. Thank you!

wellthatwasfun
Автор

Notice that around minute 11:50 whenever he chooses the city, the select option automatically reverts to "Select an Option". That is because the city has a "->reactive()" line that should not be there because this last select (City) is NOT reactive to anything so just delete that line and you are all set.

mjsu
Автор

How Can implement logic in lable. like if user active then show in table other not.

vivekverma
Автор

great tutorial about dependent select input.. so I have a question about last select of city when I selected country and state and show list of city depend of state, then I choice any city but it back select on option and not show name of city like default...

LeonelLopezBorbon
Автор

I am really loving your tutorials. In the next one could you make an add/ edit in a modal window?
Thank you for your assistance

frahmed
Автор

I'm trying to do same thing with datalist. Fetching description of tour package based on the title selected from datalist in a textinput.
But it not working. Please help
Im using filament v3

agastyasutra
Автор

i have a problem: Class not found, in EmployeeResource. have i import this Model?

wendersonalves
Автор

Very good! I'm using disabled when relationship father not selected.

magraodan
Автор

great tutorial! how do you handle edits? when I try to edit a record added like this, country is not selected by default

maurozadu
Автор

Urgent Help !

I'm new to filament and i love it. But i have a simple problem but its seems to be massive for me.
I have a UserResource and inside $form section, i have a role assigning section which is this one


->multiple()
->relationship('roles', 'name')->preload(),

the only problem for me is i want a conditional statement here, If the auth()->user() has role admin can assign roles, but in the options there are all options from the roles table which are superadmin, admin, writer, manager etc. and i want either the role assign section to be disabled for admin or admin can assign the role except the superadmin role option.

I want the admin to create new users but only assign the limited roles like writer, admin, & manager. He should not be able to assign superadmin.


I will really appriciate your help.

punkygameryt
Автор

I have a problem, maybe not created in the video ;)
Set accordingly: country, state, city.. and I change the country, the state changes as it should, but the cities are all.
I think you should use the next level for the city, starting with the country, not the state. ($country->states()->cites()->pluck('name', 'id'))
Or not giving a lower tier choice if you didn't choose a higher one. That is, start by selecting the country, and set the rest to disabled. When we select a country, the state will be activated, etc.
I tried changing fn() to function() in afterStateUpdated in country selection to change 2 states and something doesn't work ($set('state_id', null); $set('city_id', null);).

JACKoPL
Автор

Great video and very informative 🤩

Just two questions 🤔

1- will you cover plug-ins in this series

2- how can I disable clickable rows

lancelotgamer
Автор

edit of dependent fields are very hard

omidmofid
Автор

so many ads !!! .. impossible to watch

sergiu