Irissu
Irissu
TLCTuto's Laravel Corner
Created by Irissu on 1/8/2025 in #đź’ˇfilament
What do you think is the best way to do this?
Anyway, I will keep the course to follow it later. Thank you so much
6 replies
TLCTuto's Laravel Corner
Created by Irissu on 1/8/2025 in #đź’ˇfilament
What do you think is the best way to do this?
sorry I didn't answer sooner. Thank you very much for replying. Unfortunately I am very tight on time and can't afford to follow a course right now. Anyway, in case anyone is interested, I'm doing it with the CreateSchedule page, adding some things in a afterCreate() function. Through this function, that is always executed everytime you create a schedule, I create the Slots. Is this the best way to do it? possibly not (certainly not). But it works and for the moment it works for me hahaha.
6 replies
TLCTuto's Laravel Corner
Created by Irissu on 1/7/2025 in #đź’ˇfilament
custom registration form in filament
my whole code in case it can help someone (you also have to specify in your panelProvider the registration form you want to use, in my case i added: ->registration(Register::class) and the whole code of mi Register.php file: <?php namespace App\Filament\Pages\Auth; use Filament\Forms\Components\Hidden; use Filament\Forms\Components\TextInput; use Filament\Forms\Form; use Filament\Pages\Auth\Register as BaseRegister; class Register extends BaseRegister { public function form(Form $form): Form { return $form ->schema([ $this->getNameFormComponent(), TextInput::make('surname') ->label('Apellidos') ->required(), $this->getEmailFormComponent(), $this->getPasswordFormComponent(), $this->getPasswordConfirmationFormComponent(), TextInput::make('phone') ->label('Teléfono') ->numeric() ->length(9) ->required(), TextInput::make('address') ->label('Dirección'), Hidden::make('role') ->default('owner'), ]); } } ?>
5 replies
TLCTuto's Laravel Corner
Created by Irissu on 1/7/2025 in #đź’ˇfilament
custom registration form in filament
i've created manually a file called Register in this path that didn't exists before > Filament\Pages\Auth\Register. I don't know if is the best way to do it,.. but it works.
5 replies
TLCTuto's Laravel Corner
Created by Irissu on 12/31/2024 in #đź’ˇfilament
I can't use searchable, sortable or bulk actions in a clean installation
I have solved it, I leave here the solution in case someone needs it. Thanks to this thread: https://www.answeroverflow.com/m/1323048980388642817 In my composer.json file, my filament version looked like this: “filament/filament”: “3.2”. I changed it to “filament/filament”: “^3.2”, and did composer upgrade (I noticed that some commands like php artisan filament:optimize were not recognized, and that had to be some problem with the installation) That solved everything
4 replies
TLCTuto's Laravel Corner
Created by Irissu on 12/16/2024 in #đź’ˇfilament
Veterinary appointment app
I've seen I also can work with a JavaScript datepicker, so I would be able to do it, select date, thi date queried the database and shows you the available hours of that day and show them in the front. Theory it should work.
8 replies
TLCTuto's Laravel Corner
Created by Irissu on 12/16/2024 in #đź’ˇfilament
Veterinary appointment app
Maybe I can do everything with the datepicker from filament
8 replies
TLCTuto's Laravel Corner
Created by Irissu on 12/16/2024 in #đź’ˇfilament
Veterinary appointment app
No description
8 replies