Auto Slug Generation & afterStateUpdated | Filament 3 Tutorial for Beginners EP16

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2023
  • Welcome to our Filament php 3 course, in this video we will cover how to automatically generate slugs when the user types and also go more in depth into after state updated and possible arguments you can inject into your callback.
    Code for this episode:
    github.com/yelocode/laravel-b...
    Filament 3. documentation link :
    filamentphp.com/docs/3.x/pane...
    ravel.com/
    Course Playlist ( next episode ):
    • Filament 3 course for ...
    My Livewire 3 Course :
    • Laravel Livewire 3 Cou...
    If you would like me to make more Filament 3 videos, please let me know by liking the video and commenting what you like to learn next.
    What is Filament PHP:
    A free and open source admin panel builder for laravel using the TALL stack that allows you to build beautiful admin panel pages in just a few minutes.

Комментарии • 15

  • @mustafasabah8552
    @mustafasabah8552 7 месяцев назад +2


    Thanks continue your explanation and examples so grateful, your explanation touch my brain and it light my brain also

    • @yelocode
      @yelocode  6 месяцев назад

      Thanks for watching.

  • @novaardiansyah6254
    @novaardiansyah6254 4 месяца назад

    Thanks, really help my day

  • @HamadAbdulla_7
    @HamadAbdulla_7 7 месяцев назад +2

    Thank you for the tutorial

    • @yelocode
      @yelocode  7 месяцев назад +1

      You’re welcome 😊

  • @mogr488
    @mogr488 7 месяцев назад +1

    Thank you.

    • @yelocode
      @yelocode  7 месяцев назад

      Thanks for watching

  • @karlinocencio2163
    @karlinocencio2163 5 месяцев назад

    can you make an example in select? then instead of getting the value of item in select it should be the name will output into the textInput? Coz example like in select there is a relationship(('standard_id', 'standard_name') but I want to get the standard_name and output it in the textInput instead. I hope you will make an example coz I couldn't find any example complicated.

  • @ariefdLuffy
    @ariefdLuffy 3 месяца назад

    category field change from name to title ? i seen your video from EP1

  • @destinyerieme6502
    @destinyerieme6502 4 месяца назад

    i am having this error Method Filament\Forms\Components\TextInput::live does not exist.

  • @Dojazdowka
    @Dojazdowka 7 месяцев назад

    Hi Yelo, nice filament course. But I have a question is there any way to create form witch will have some field no. (for ex. 5 maxlength) and field no. count (ex. 1 - 10 values) and when I click create it will add to database for ex. 5 records with numbers ex. 11111 in a loop (no. count)? Is there any function where I can manipulate store data and set loop_count?

  • @modapps5490
    @modapps5490 7 месяцев назад

    Hello Yelo, I've been watching your tutorial in a while and it's getting me much more interested about filament. May I ask what if I will get the two value. For example the title and the color and show the value in the slug input field. is it possible? Thanks man for making this tutorial .

  • @tolltales
    @tolltales 7 месяцев назад +1

    many thanks. but looks like if the first character is space, it throws an error `Argument #X ($state) must be of type string, null given`

    • @yelocode
      @yelocode  7 месяцев назад

      Thanks for pointing this issue.
      For a quick fix, you can remove the type hint for the $state. It's also how it's used in filament demo code.
      Alternatively, if you prefer to keep the type hint, you can also include null as a possible type, like below :
      string|null $state.