tesse05
tesse05
FFilament
Created by tesse05 on 5/27/2024 in #❓┊help
custom widgets
Should I extend use Filament\Widgets\Widget; instead of use Filament\Widgets\StatsOverviewWidget
6 replies
FFilament
Created by tesse05 on 5/27/2024 in #❓┊help
custom widgets
<div class="mb-4 grid-cols-4">
@foreach($centers as $center)
<x-filament-widgets::widget>
<x-filament::section>
<h1>{{ $center->name }}<h1>
<div>
@custom info
</div>
</x-filament::section>
</x-filament-widgets::widget>
@endforeach
</div>
<div class="mb-4 grid-cols-4">
@foreach($centers as $center)
<x-filament-widgets::widget>
<x-filament::section>
<h1>{{ $center->name }}<h1>
<div>
@custom info
</div>
</x-filament::section>
</x-filament-widgets::widget>
@endforeach
</div>
6 replies
FFilament
Created by tesse05 on 5/27/2024 in #❓┊help
custom widgets
anyone?
6 replies
FFilament
Created by tesse05 on 5/9/2024 in #❓┊help
spatie media library file upload load file
up
3 replies
FFilament
Created by tesse05 on 4/25/2024 in #❓┊help
render blade in subheading?
omg how simple it seems now! it's working, thanks!!
5 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
okay, If I fill the first form it all works, but it doesn't work on a second modal... maybe is a bug??
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
(yes, I do generate preview media conversion)
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
I have just this filament field lol... I think the workaround is fine, so the image is uploaded where indicated and inserted properly in the ddbb. also, if I dd() the $model->firstMedia() it retrieves the image.
SpatieMediaLibraryFileUpload::make('image')
->collection('image')
->disk('media')
->label('Imatge')
->columnSpan(2)
->enableDownload()
->acceptedFileTypes([
'image/png', 'image/jpeg',
]),
SpatieMediaLibraryFileUpload::make('image')
->collection('image')
->disk('media')
->label('Imatge')
->columnSpan(2)
->enableDownload()
->acceptedFileTypes([
'image/png', 'image/jpeg',
]),
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
No description
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
any thoughts?
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
there's nothing in console
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
No description
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
Spatie preview image?
No description
14 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
SpatieMediaLibraryFileUpload not showing
yes
18 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
SpatieMediaLibraryFileUpload not showing
I tried this: $this->form->model($this->model) but not working 😦 is passing all fields except media
18 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
SpatieMediaLibraryFileUpload not showing
I have this use case
18 replies
FFilament
Created by tesse05 on 1/29/2024 in #❓┊help
SpatieMediaLibraryFileUpload not showing
Is there any trick to assign it dynamically? For example to use the same form with different models
18 replies