very good course. Whut about nested relationship like for an example a user which have a post which has a category. How to access the category from the user and same in the reverse way
You can use both at the same time. Filament uses livewire as well. You can for example use filament for your admin panel and Livewire for any custom interactive components for your the user facing pages
how can concat 2 column of relation to show it in table or select input? like this example that about city and state. these columns are in one table named 'geoPos'. the relation method is geoPos(). return $table ->columns([ Tables\Columns\TextColumn::make('geoPos.state' . ' - ' . 'geoPos.city') ->label('location'), in this code, nothing show in 'location' column of the table.
I've found the answer and am eager to share it, hoping it proves useful. TextColumn::make('city_id') ->formatStateUsing(function (Model $record) { return $record->geoPos->title . ' - ' . $record->geoPos->parent->title; })->label('location'),
There is a filament plugin that makes this super easy : github.com/bezhanSalleh/filament-language-switch I have tested it before and it does have French as well.
Thank you very much. I have a question How can i localice FilamentPHP? to set it to Spanish language for example. Sorry for my bad english, i'm latino. Saludos.
How can we change specific field on a form. For example i have a input and next to that input i have a button. When i change the input and click the button i want to update that exact value on the DB. also i want to mount that value back to that field without reloading the page. How can i do that?
You can use actions for a use case like this, they allow you show a modal with any custom form you like and perform an update operation on your model. I will be covering them in the upcoming videos . filamentphp.com/docs/3.x/forms/actions#adding-a-hint-action-to-a-field The documentation has an example that seems to be similar to your use case
in the table function , how would you display description/name for a foreign key field .. ie say this table in the video had a column for statusID and status was a table with 10 rows ... and the primary key/ID was statusID , how would i display in the table StatusDesc from the status table ? ie StatusID = 3 , Status Desc = " cool ", Note I have an example working for a form but it does to transfer to the table definition !
Hello. I get "Livewire\Exceptions\ComponentNotFoundException Unable to find component: [App\Filament\Resources\PostsRelationManager]". What did I do wrong? Edit: solved using: RelationManagers\PostsRelationManager::class, on the relations array.
Hi, I like Filament, but... does anyone know a way to make translatable repiters and/or image galleries with translatable custom fields (like alt, title, description, etc)? All Laravel admin panel software (tried Filament, Twill, Backpack) can't handle this task without bugs, and these tasks is so important for my regular projects 😢
Thanks
Thank you for the super thanks🙏
You just opened a new way of me doing things, so much easier now.
After watching it 2 times im finally understand. Thank you for this knowledge
Glad to hear that
Bu güzel içerikler için çok teşekkürler
very good course. Whut about nested relationship like for an example a user which have a post which has a category. How to access the category from the user and same in the reverse way
Amazing, thank you.
Thanks for watching
Very good.
Thank you
thank you sir, your doing a very good and useful tutorials❤
Thank you very much!
Salvou meu querido, obrigado
Is it possible to have a form that contains different fields in function of what a user select? I mean a dynamic form.
this series is a gem . waiting for the next lecture . would u pls give us a lecture about filament multi panel concept?
Thanks for watching. Will for sure cover multiple panels in the up coming episodes
very nice
Thanks
Nice vídeo
Thanks
We would appreciate more videos in this tutorial
Thank you, will try to make, more videos like this.
Great
Thanks For waching Hamid.
another awesome content. i think we can keep the category inside the edit if admin wants to change the category
Thanks for watching.
Hi, can you use for deletes in the relationship manager
It's so difficult to choose what can I use!!! Only livewire or filament!!!!
Why not both? Get the best of both worlds
You can use both at the same time. Filament uses livewire as well. You can for example use filament for your admin panel and Livewire for any custom interactive components for your the user facing pages
how can concat 2 column of relation to show it in table or select input? like this example that about city and state. these columns are in one table named 'geoPos'. the relation method is geoPos().
return $table
->columns([
Tables\Columns\TextColumn::make('geoPos.state' . ' - ' . 'geoPos.city')
->label('location'),
in this code, nothing show in 'location' column of the table.
I've found the answer and am eager to share it, hoping it proves useful.
TextColumn::make('city_id')
->formatStateUsing(function (Model $record) {
return $record->geoPos->title . ' - ' . $record->geoPos->parent->title;
})->label('location'),
Thanks for the videos, How to change langage on filament to french ?
There is a filament plugin that makes this super easy : github.com/bezhanSalleh/filament-language-switch
I have tested it before and it does have French as well.
Many thanks, I just needed this, please continue with filament videos. Could you do some of multitenancy?
Thanks for watching. Will be uploading more videos soon. Will for sure cover multitenancy in the course.
I will wait for these, thanks.
thanks for good teaching. i have a problem in filament, Relationship in Form not saving on create action but work on edit form. can you help?
Thank you very much. I have a question
How can i localice FilamentPHP? to set it to Spanish language for example.
Sorry for my bad english, i'm latino.
Saludos.
thanks boss Can You Make filamentphp page video
Thanks for watching. Do you mean custom pages? Yes I will cover that too
after adding relation manager table, for create after we press the create button then how can we set the value for some of columns
How can we change specific field on a form. For example i have a input and next to that input i have a button. When i change the input and click the button i want to update that exact value on the DB. also i want to mount that value back to that field without reloading the page. How can i do that?
You can use actions for a use case like this, they allow you show a modal with any custom form you like and perform an update operation on your model. I will be covering them in the upcoming videos .
filamentphp.com/docs/3.x/forms/actions#adding-a-hint-action-to-a-field
The documentation has an example that seems to be similar to your use case
in the table function , how would you display description/name for a foreign key field .. ie say this table in the video had a column for statusID and status was a table with 10 rows ... and the primary key/ID was statusID , how would i display in the table StatusDesc from the status table ? ie StatusID = 3 , Status Desc = " cool ", Note I have an example working for a form but it does to transfer to the table definition !
PS great video series :)
can you make a use case a multi panel with roles management plugin, thnaks. 🙏🏻, (and can you change the icon users resources 🤣)
Thanks for watching. Will try to cover multiple panels and role management later on in the course. Sure thing will change the battery icon 😅😂
How to add the exists posts into category in edit/create form, you just Taught how to add a new post, but how to add an exist post?
How to rename the linked record. Create post = Make a post.
multiple select with one to many supported ? i don't get it
Hello.
I get "Livewire\Exceptions\ComponentNotFoundException
Unable to find component: [App\Filament\Resources\PostsRelationManager]".
What did I do wrong?
Edit:
solved using: RelationManagers\PostsRelationManager::class, on the relations array.
Hi, I like Filament, but... does anyone know a way to make translatable repiters and/or image galleries with translatable custom fields (like alt, title, description, etc)? All Laravel admin panel software (tried Filament, Twill, Backpack) can't handle this task without bugs, and these tasks is so important for my regular projects 😢
My eyes can't believe what they see
:)