Relationship Manager (1-1 & 1-M) | Filament 3 Tutorial for Beginners EP7

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 57

  • @darreneckersley2240
    @darreneckersley2240 3 місяці тому +1

    Thanks

    • @yelocode
      @yelocode  3 місяці тому

      Thank you for the super thanks🙏

  • @darreneckersley2240
    @darreneckersley2240 3 місяці тому +1

    You just opened a new way of me doing things, so much easier now.

  • @einnlleinhatt_
    @einnlleinhatt_ Рік тому +1

    After watching it 2 times im finally understand. Thank you for this knowledge

  •  3 дні тому

    Bu güzel içerikler için çok teşekkürler

  • @houmamelazar6337
    @houmamelazar6337 Рік тому +3

    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

  • @mogr488
    @mogr488 Рік тому +1

    Amazing, thank you.

  • @joaopoliceno8844
    @joaopoliceno8844 11 місяців тому +1

    Very good.

  • @WalidTouati91
    @WalidTouati91 5 місяців тому

    thank you sir, your doing a very good and useful tutorials❤

  • @АртурЗарипов-б2й

    Thank you very much!

  • @gabrielguimaraes7925
    @gabrielguimaraes7925 4 місяці тому

    Salvou meu querido, obrigado

  • @engenglish610
    @engenglish610 Рік тому +1

    Is it possible to have a form that contains different fields in function of what a user select? I mean a dynamic form.

  • @abirbd369
    @abirbd369 Рік тому +2

    this series is a gem . waiting for the next lecture . would u pls give us a lecture about filament multi panel concept?

    • @yelocode
      @yelocode  Рік тому

      Thanks for watching. Will for sure cover multiple panels in the up coming episodes

  • @wmafendi
    @wmafendi Рік тому +2

    very nice

  • @marciozotelli
    @marciozotelli Рік тому +1

    Nice vídeo

  • @amouchaldev
    @amouchaldev Рік тому +1

    We would appreciate more videos in this tutorial

    • @yelocode
      @yelocode  Рік тому +1

      Thank you, will try to make, more videos like this.

  • @MrHamidkurd
    @MrHamidkurd Рік тому +1

    Great

    • @yelocode
      @yelocode  Рік тому

      Thanks For waching Hamid.

  • @__Cypher
    @__Cypher Рік тому +1

    another awesome content. i think we can keep the category inside the edit if admin wants to change the category

  • @emmanuelodobo4469
    @emmanuelodobo4469 3 місяці тому

    Hi, can you use for deletes in the relationship manager

  • @engenglish610
    @engenglish610 Рік тому +2

    It's so difficult to choose what can I use!!! Only livewire or filament!!!!

    • @1337kaas
      @1337kaas Рік тому

      Why not both? Get the best of both worlds

    • @yelocode
      @yelocode  Рік тому

      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

  • @ahmadrezaishan9191
    @ahmadrezaishan9191 10 місяців тому

    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.

    • @ahmadrezaishan9191
      @ahmadrezaishan9191 10 місяців тому

      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'),

  • @ousssika5359
    @ousssika5359 Рік тому +1

    Thanks for the videos, How to change langage on filament to french ?

    • @yelocode
      @yelocode  Рік тому

      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.

  • @alanrodrigoortegabalboa9350
    @alanrodrigoortegabalboa9350 Рік тому +1

    Many thanks, I just needed this, please continue with filament videos. Could you do some of multitenancy?

    • @yelocode
      @yelocode  Рік тому +1

      Thanks for watching. Will be uploading more videos soon. Will for sure cover multitenancy in the course.

    • @alanrodrigoortegabalboa9350
      @alanrodrigoortegabalboa9350 Рік тому

      I will wait for these, thanks.

  • @AmirAmirian-cx5rv
    @AmirAmirian-cx5rv 11 місяців тому

    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?

  • @claudiomenares4172
    @claudiomenares4172 4 місяці тому

    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.

  • @HamadAbdulla_7
    @HamadAbdulla_7 Рік тому +2

    thanks boss Can You Make filamentphp page video

    • @yelocode
      @yelocode  Рік тому +2

      Thanks for watching. Do you mean custom pages? Yes I will cover that too

  • @prakashpokhrel9912
    @prakashpokhrel9912 Рік тому

    after adding relation manager table, for create after we press the create button then how can we set the value for some of columns

  • @hasithudayanga6160
    @hasithudayanga6160 Рік тому +1

    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?

    • @yelocode
      @yelocode  Рік тому

      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

  • @leeiberry
    @leeiberry Рік тому

    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 !

    • @leeiberry
      @leeiberry Рік тому

      PS great video series :)

  • @yuliarahma1300
    @yuliarahma1300 Рік тому +1

    can you make a use case a multi panel with roles management plugin, thnaks. 🙏🏻, (and can you change the icon users resources 🤣)

    • @yelocode
      @yelocode  Рік тому

      Thanks for watching. Will try to cover multiple panels and role management later on in the course. Sure thing will change the battery icon 😅😂

  • @azadehghasemi3244
    @azadehghasemi3244 Рік тому

    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?

  • @cybermanbg
    @cybermanbg 4 місяці тому

    How to rename the linked record. Create post = Make a post.

  • @khant-nyar
    @khant-nyar 4 місяці тому

    multiple select with one to many supported ? i don't get it

  • @lucasger89
    @lucasger89 Рік тому

    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.

  • @dudovichenko
    @dudovichenko 5 місяців тому

    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 😢

  • @amouchaldev
    @amouchaldev Рік тому +1

    My eyes can't believe what they see