This video has tones of useful information. Thanks so much for your effort, you are helping so much to us juniors. I have one request though so I had to edit this comment, if you can make a video and provide the link show me where it's done like this: I want to add additional information in the pivot table of the many-to-many relationship (the table which contains the FK of for example students and guardians since a student can have multiple guardians and a guardian can have multiple students as his/her dependants. This additional info/column can be anything, in my case it is the actual relationship between them, for example; "Father", "Mother" etc so that at any time when displaying the student info, users can instantly know how the student is related to the guardian and vice versa. Thanks in advance.
Hello , the Laravel videos with filament are very good, I am new to this but I have learned a lot with your videos, thank you very much, I have a question and if you can make a video explaining it, it would be much better, I tell you, I have a project and I have two models that are related course and enrollment of the course model I select the ID but I also want to bring the first and last name, meaning that when I select the ID the first and last name fields will auto-fill. any suggestion.
Nice video.. Thank you. I am getting an error: 1364 Field 'unit_price' doesn't have a default value Below is the code in the form as you have added: Forms\Components\TextInput::make('unit_price') ->label('Unit Price') ->required() ->dehydrated() ->numeric() ->disabled(), Its because of disabled (which doesnt submit the value to database) : you quoted this but please let us know how to fix as well. Great videos..
@codewithdary Is there a way to customize the name/title that is displayed for a relationship? For example, @1:40 Select::make('brand_id')->relationship('brand', 'name'), I want to do something for Select::make('user_id')->relationship('user', 'full_name') where full name is an accessor that concatenates first name and last name... In nova, they have a title() function you can use to override the displayed value /** * Get the value that should be displayed to represent the resource. * * @return string */ public function title() { return $this->first_name . " " . $this->last_name; }
This video has tones of useful information. Thanks so much for your effort, you are helping so much to us juniors. I have one request though so I had to edit this comment, if you can make a video and provide the link show me where it's done like this: I want to add additional information in the pivot table of the many-to-many relationship (the table which contains the FK of for example students and guardians since a student can have multiple guardians and a guardian can have multiple students as his/her dependants. This additional info/column can be anything, in my case it is the actual relationship between them, for example; "Father", "Mother" etc so that at any time when displaying the student info, users can instantly know how the student is related to the guardian and vice versa.
Thanks in advance.
Would love to see a video on tracking inventory of the products based on the sales.
Thank you Dary, Would you please focus on website pages as well, I mean template and some simple pages like products, Cart, ...
Thank you for your suggestions!
Hello , the Laravel videos with filament are very good, I am new to this but I have learned a lot with your videos, thank you very much, I have a question and if you can make a video explaining it, it would be much better, I tell you, I have a project and I have two models that are related course and enrollment of the course model I select the ID but I also want to bring the first and last name, meaning that when I select the ID the first and last name fields will auto-fill. any suggestion.
but where the products inserted to an order are saved ?
Respect
Thank you
Nice video.. Thank you.
I am getting an error: 1364 Field 'unit_price' doesn't have a default value
Below is the code in the form as you have added:
Forms\Components\TextInput::make('unit_price')
->label('Unit Price')
->required()
->dehydrated()
->numeric()
->disabled(),
Its because of disabled (which doesnt submit the value to database) : you quoted this but please let us know how to fix as well.
Great videos..
Thank you. I haven't made any changes I guess, here is the source code: github.com/codewithdary/hostinger-filament
Hallo Sir, sorry... this wizard form for order item cannot inset to databse? Why...
Owh i see, i'm forget insert Repeater and relationship... Solved thank you
Thanks boss Can You Make filamentphp page video
What do you mean?
filamentphp custom page Boss @@codewithdary
thank pro
Thanks
Welcome!!
@codewithdary Is there a way to customize the name/title that is displayed for a relationship? For example, @1:40 Select::make('brand_id')->relationship('brand', 'name'), I want to do something for Select::make('user_id')->relationship('user', 'full_name') where full name is an accessor that concatenates first name and last name... In nova, they have a title() function you can use to override the displayed value
/**
* Get the value that should be displayed to represent the resource.
*
* @return string
*/
public function title()
{
return $this->first_name . " " . $this->last_name;
}