Hurruwa
Hurruwa
FFilament
Created by Hurruwa on 7/22/2024 in #❓┊help
ExportAction export different model
Im using the ExportAction on the ProductList Page but i want to export a different Model (Variations) I have tested changing the model in both the action and the VariationExport class and it is sill exporting the "products". Any idea what im missing here? Thanks in advance.
15 replies
FFilament
Created by Hurruwa on 4/26/2024 in #❓┊help
FileUpload EditPage preview from external url
I have an "image" column on my model with an array of images urls. I would to show a preview of them on the EditFrom using the FileUpload. Any idea on how? This is my current field config:
Forms\Components\FileUpload::make('images')
->image()
->multiple()
->preserveFilenames()
->imagePreviewHeight('250')
->loadingIndicatorPosition('left')
->panelAspectRatio('2:1')
->panelLayout('grid')
->removeUploadedFileButtonPosition('right')
->uploadButtonPosition('left')
->uploadProgressIndicatorPosition('left')
Forms\Components\FileUpload::make('images')
->image()
->multiple()
->preserveFilenames()
->imagePreviewHeight('250')
->loadingIndicatorPosition('left')
->panelAspectRatio('2:1')
->panelLayout('grid')
->removeUploadedFileButtonPosition('right')
->uploadButtonPosition('left')
->uploadProgressIndicatorPosition('left')
this is the state() for "images": [ 0 => "https: //www.teammakerplus.com/wp-content/uploads/2024/04/46205-2 .jpg" 1 => "https: //www.teammakerplus.com/wp-content/uploads/2024/04/issaline-46205-1 .jpg" 2 => "https: //www.teammakerplus.com/wp-content/uploads/2024/04/issaline-46205-2 .jpg" 3 => "https: //www.teammakerplus.com/wp-content/uploads/2024/04/issaline-46205-3 .jpg" ] (the space is for it not to load the image on the chat. The url on the app its correct 😉 ) Thanks in advance.
2 replies
FFilament
Created by Hurruwa on 4/5/2024 in #❓┊help
Custom Component Infolist
No description
2 replies
FFilament
Created by Hurruwa on 4/4/2024 in #❓┊help
Custom Infolist Entry Action
Im trying to add an Action to a custom Infolist Entry Component but im hitting a wall with this error... This is the code inside the Infolist Component reffering to the action:
use Filament\Infolists\Components\Actions\Action;

public function getItemAction($record): Action
{
return Action::make('viewActivity')
->iconButton()
->icon('heroicon-o-eye')
->modalHeading('View Action')
->modalDescription('View the activity details.')
->slideOver()
->modalWidth('xl')
->modalContent(fn() => view('filament.pages.view-activity', ['activity' => $record]));
}
use Filament\Infolists\Components\Actions\Action;

public function getItemAction($record): Action
{
return Action::make('viewActivity')
->iconButton()
->icon('heroicon-o-eye')
->modalHeading('View Action')
->modalDescription('View the activity details.')
->slideOver()
->modalWidth('xl')
->modalContent(fn() => view('filament.pages.view-activity', ['activity' => $record]));
}
Thanks in advance, any info to at least understand what's happening its welcome XD
5 replies
FFilament
Created by Hurruwa on 2/29/2024 in #❓┊help
Backdrop on action running
This is a random question, but i would like to know if possible to create a fullscreen backdrop (like modal) while an Action its runnin on the background. Right now i see the loading spinning on the button itself but i would like to hook on the wire:loading to show a fullscreen backdrop. Thanks in advance.
4 replies
FFilament
Created by Hurruwa on 12/21/2023 in #❓┊help
Its possible to work with a cached collection in Filament Table?
When i try to access it it give me the following error: "Filament\Tables\Table::query(): Argument #1 ($query) must be of type Illuminate\Database\Eloquent\Builder|Closure|null, Illuminate\Support\Collection given" Thanks in advance.
4 replies
FFilament
Created by Hurruwa on 12/7/2023 in #❓┊help
is there a way to have the table to handle a collection instead of query?
Im using a package to load from an API a collection of items but im not able to have the table to read them in any why. Any idea of how can i get this? Thanks in advance.
5 replies
FFilament
Created by Hurruwa on 10/5/2023 in #❓┊help
Its normal to have filament Js files on the public folder?
No description
10 replies
FFilament
Created by Hurruwa on 9/13/2023 in #❓┊help
Overview Stats Widget Responsive
No description
17 replies
FFilament
Created by Hurruwa on 9/12/2023 in #❓┊help
Table footer design issue
No description
5 replies
FFilament
Created by Hurruwa on 9/10/2023 in #❓┊help
navbrar theme broken ?
Any idea why its this happening? I just checked the filament demo that its ok for them using the same browser...
5 replies
FFilament
Created by Hurruwa on 8/30/2023 in #❓┊help
Use a function (): Action from a Resource ?
Hi, im trying to launch an Action from a function in a resource component but im not getting any response... Any ideas? This is the code i have so far:
public function saveSelectedText(): \Filament\Forms\Components\Actions\Action
{
return Action::make('save')->label('Save')->action(function () {
dd($this->selectedText);
});
}
public function saveSelectedText(): \Filament\Forms\Components\Actions\Action
{
return Action::make('save')->label('Save')->action(function () {
dd($this->selectedText);
});
}
3 replies
FFilament
Created by Hurruwa on 8/29/2023 in #❓┊help
Get selected text using RichText Editor?
Its possible to get the selected text using this livewire component??? Thanks in advance
4 replies
FFilament
Created by Hurruwa on 8/16/2023 in #❓┊help
Dinamicaly add values to a radio component
Hi, did anyone knows if possible how to add values to the options of a Radio Component?? Thnaks in advance.
5 replies
FFilament
Created by Hurruwa on 8/3/2023 in #❓┊help
Style problems with the create option form
3 replies
FFilament
Created by Hurruwa on 6/20/2023 in #❓┊help
Its possible to disable weekends on the DatePicker from filament?
I need to disable weekends on the date selector? Its there a goood way to do it? Thanks in advance.
3 replies
FFilament
Created by Hurruwa on 5/17/2023 in #❓┊help
Browser notification using FilamentNotifications?
There is any way to implement push browser notification using the Notification package? I have already pusher realtime notifications working, but they are not showing as browser notification. Just inside the app. thanks in advance, i would be enough to have docs that i can read trough.
10 replies
FFilament
Created by Hurruwa on 5/2/2023 in #❓┊help
getNavigationBadge() wont count the model
3 replies
FFilament
Created by Hurruwa on 5/2/2023 in #❓┊help
how to define a global footer?
I want to define a global footer for all the app. I have found the getFooter() function but that only change for 1 page. Thanks in advance.
12 replies
FFilament
Created by Hurruwa on 4/27/2023 in #❓┊help
Actions in table stacked into columns
21 replies