Dan-webplusm
Dan-webplusm
TLCTuto's Laravel Corner
Created by Rodriguechot on 10/24/2024 in #💡filament
Filament PHP
explanation on what ? There are a lot of stuffs on that
6 replies
TLCTuto's Laravel Corner
Created by Rodriguechot on 10/24/2024 in #💡filament
Filament PHP
You can do it with a select input on search mode, place the product in a repeater like that :
6 replies
TLCTuto's Laravel Corner
Created by shaan on 7/1/2024 in #💡filament
https://discord.com/channels/883083792112300104/1257389318503268362
To solve what ? (i mean)
3 replies
TLCTuto's Laravel Corner
Created by North on 6/23/2024 in #💡filament
State - City select fields
Select::make('author_id')
->searchable()
->getSearchResultsUsing(fn (string $search): array => User::where('name', 'like', "%{$search}%")->limit(50)->pluck('name', 'id')->toArray())
->getOptionLabelUsing(fn ($value): ?string => User::find($value)?->name),
Select::make('author_id')
->searchable()
->getSearchResultsUsing(fn (string $search): array => User::where('name', 'like', "%{$search}%")->limit(50)->pluck('name', 'id')->toArray())
->getOptionLabelUsing(fn ($value): ?string => User::find($value)?->name),
5 replies
TLCTuto's Laravel Corner
Created by North on 6/23/2024 in #💡filament
State - City select fields
5 replies
TLCTuto's Laravel Corner
Created by karim_Jäger on 6/10/2024 in #💡filament
Filter Filament Project Resources Based on Authenticated User's Team
User -> Teams -> Projects : auth()->user()->teams->projects : I suppose it would be this , the list of projects in a select. May be you probably need tenants
6 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
O_O , i saw my mistake on updating , just need to update the data with $this->form->getState(), not $this->data. Oh my bad ...
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
Thank fully for your timeshare 👍
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
manually, it's save. but if i try to remove that image, it's remove only on the component, not the file. Maybe i need to did it myself ?
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
yes, it 's just for an update page form. all work very well, since i decided to add the uploadField
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
yes, i knew it. It 's why i tell to show me if you have an exemple of that. this look like a bug in page
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
humm, my page is extends Page
class EnterpriseProfile extends Page
class EnterpriseProfile extends Page
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
ok, let's try that
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
and same when delete the file, nothing happen lol
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
i try, minFiles, etc ...
20 replies
FFilament
Created by Dan-webplusm on 6/6/2024 in #❓┊help
FileUpload on a custom page won't work as expect ...
Just same as the doc
Forms\Components\FileUpload::make('attachment')
->disk('public')
->directory('logos')
->acceptedFileTypes(['image/png', 'image/webp', 'image/svg+xml']),

// in my save method
$path = $file->store('logos','public');
Forms\Components\FileUpload::make('attachment')
->disk('public')
->directory('logos')
->acceptedFileTypes(['image/png', 'image/webp', 'image/svg+xml']),

// in my save method
$path = $file->store('logos','public');
20 replies
FFilament
Created by Daniel on 6/6/2024 in #❓┊help
How do Custom Components actually work? Can someone explain it to me?
too, mdr 👍
6 replies
FFilament
Created by Daniel on 6/6/2024 in #❓┊help
How do Custom Components actually work? Can someone explain it to me?
<iframe src="https://iframe.mediadelivery.net/embed/249784/{{ $record->key }}" width="640" height="360" allowfullscreen></iframe>
6 replies
FFilament
Created by Daniel on 6/6/2024 in #❓┊help
How do Custom Components actually work? Can someone explain it to me?
May be need {{ ...}} on record, not only one {
6 replies
FFilament
Created by Renzo on 4/24/2024 in #❓┊help
FileUpload field inside an Infolist
No description
11 replies