282 questions
0
votes
1
answer
76
views
How can I use local storage for filament export in production? [closed]
How can I use Filament export in production?
I don't want to use S3 and I want to use local storage.
The exported files are secure and should not be public.
When I use local disk, production ...
0
votes
1
answer
106
views
Bug with @foreach loop in Laravel 12.x + Livewire 3.6
I am using Laravel v12 with Filament v4 and TailwindCSS v4.
I wanted to build a site with tabs, witch are a Livewire component inside filament/Page. In this Livewire components I have 3 tabs, where ...
0
votes
0
answers
32
views
Filament 4 + Guava Calendar: eventClick action opens empty modal (record not passed to action?)
I’m using Filament 4 with the package guava-labs/filament-calendar.
Everything works except eventClick actions: clicking an event opens an empty modal, and no data from the clicked record is passed to ...
0
votes
0
answers
44
views
How to Keep Filament Tenant Registration Loader Visible Until Redirect
I am using Filament 4.x with Livewire 3.x to build a tenant registration page. I have a custom loader that should display when the user clicks the register button.
The registration button is rendered ...
1
vote
1
answer
106
views
Filament PHP: Memory exhausted when selecting all table records (500k+ rows) - How to limit or optimize?
I'm using Filament PHP v3 with Laravel and have a table that can contain 500,000+ user records. When users click the "Select All" button the application crashes with a memory exhausted error:...
0
votes
1
answer
67
views
How to automatically update filament RepeatableEntry after form save
In filament v3, after creating a new message, repeatable entry would automatically update but this is not the case in filament v4. How do I achieve the same behaviour in filament v4.
In filament v4 I ...
0
votes
1
answer
129
views
How to change model to export from filament resource to exporter class
I have an application that uses filament 3.2 and in this application I have a resource called "Students", within this resource I am calling a "Tables\Actions\ExportBulkAction" that ...
0
votes
0
answers
34
views
In Spatie Media Library Plugin s3 bucket Files are not being loaded when on edit page
In Spatie Media Library Plugin every thing works fine and I can upload images to s3 bucket but Files are not being loaded when on edit page, the image container remain loading and does not display the ...
0
votes
0
answers
29
views
How can I test form fields inside Filament Tabs?
I’m using Filament in my Laravel application.
In one form, I’m using Tabs to organize different groups of fields.
For example, my form schema looks like this:
->schema([
Tabs::make('Tabs')
...
0
votes
1
answer
79
views
How to prevent field state conflicts in Repeater when calculating totals reactively?
I am using FilamentPHP v3. I am new to FilamentPHP. I have a Repeater with columns Quantity', 'Cost Price, Unit Price, Tax and Total Price. Total Price is set after state of Quantity and Cost Price ...
2
votes
2
answers
95
views
Filamentphp adding demo mode middleware
I created an admin panel on Laravel with Filamentphp. I want to create a middleware for demo mode to block requests such as post, put, and delete. However, I couldn't do it.
demomodemiddleware.php
<...
1
vote
0
answers
43
views
How to remove a single selected option from a SelectFilter with multiple() in Laravel Filament?
I'm using Laravel Filament and have the following filter setup using Tables\Filters\SelectFilter::make() to allow users to filter records by multiple order statuses:
Tables\Filters\SelectFilter::make('...
2
votes
1
answer
285
views
Laravel Filament Admin Panel: "Allowed memory size exhausted" error
I'm working on a Laravel project using Filament for the admin dashboard. Initially, everything worked fine with a few resources. But after adding a fourth resource, the panel started throwing memory ...
0
votes
0
answers
119
views
Route [filament.admin.resources.accounts.index] not defined in tomatophp/filament-saas-panel
I'm trying to add the FilamentSaasTeamsPlugin in AdminPanelProvider
->plugins([
FilamentSaasTeamsPlugin::make()
->allowAccountTeamTableAction()
->...
0
votes
0
answers
44
views
Handle Custom Creation Logic in Filament 3 Wizard with Repeater + BelongsToMany Pivot
I need to be able to handle creation process after submitting my Wizard Form to create Recipe.
Wizard steps:
Recipe Info
Ingredients
Guide
I need to be able to save data in that particular order:
...
1
vote
3
answers
214
views
Is it possible to manually reject files in a FileUpload before the form gets submitted?
In a Filament form I have the following field:
FileUpload::make('Files')
->acceptedFileTypes(self::$filetypes)
->disk('local')
->moveFiles()
-&...
0
votes
2
answers
70
views
Can a select field be dependable of 2 or more fields?
I have followed instructions here https://filamentphp.com/docs/3.x/forms/advanced#dependant-select-options to make a select form dependable from another field in the Edit form. Here is the code of the ...
0
votes
1
answer
126
views
On a Resource-View-Page in FilamentPHP: How can I preserve the current active tab of a Relation-Manager when pressing the Edit-button?
In FilamentPHP. I have generated a Resource "Organization" which has default List/View/Edit-pages, and three Relation-Managers.
When I browse a record on the View-page, and switch tabs to ...
0
votes
0
answers
146
views
How does the $tooltip in this filament hintAction work?
I've got this text input field with a little copy to clipboard button
Forms\Components\TextInput::make('idp_xml')
->label('Generated URL')
->disabled()
->...
0
votes
2
answers
102
views
Filamentphp v3 hide RenderHook if sidebar is collapsed
How do I hide a custom blade (PanelsRenderHook) on my sidebar if sidebar is collapsed.
class AppServiceProvider extends ServiceProvider
{
public function register(): void
{
}
...
0
votes
0
answers
112
views
Load table in FilamentPHP without model based on file upload
I've created a custom page in FilamentPHP where I'm accepting a file upload and, after the user clicks an action, I want to load a table on the same page with data from the file. This data has no ...
0
votes
1
answer
91
views
Empty array or square bracket in my Laravel Filament application
I am using Laravel Filament with Nginx as the web server. I have tried many method to get this fixed, however the square bracket still exists. I tried
php artisan route:clear
php artisan optimize:...
0
votes
1
answer
400
views
FilamentPHP cannot find module tailwind.config.preset with TailwindCSS v4
When running npm run build locally everything works fine.
But running it with the same code on my server via nixpacks it fails via
[vite:css] [postcss] Cannot find module
'./vendor/filament/support/...
0
votes
1
answer
58
views
How to add multiple customers in customers create page in Filament php
I’m returning the form below in my CustomerResource. Is it possible to add multiple customers at the same time? For example, I could add three customers and then save them by clicking the create ...
0
votes
2
answers
338
views
Filamentphp Shield Plugin multiple panels
I am using https://filamentphp.com/plugins/bezhansalleh-shield for roles and permissions.
I have 3 panels (admin, home and app)
In the Roles table, it shows 114 permissions from all panels and ...
0
votes
2
answers
103
views
Tables\Columns\IconColumns use a fn call to alternate icons depending on value but uses LIKE, would like to use a LIKE or CONTAINS
I am using Filament admin panel in Laravel.
Filament v3.3.14, Laravel 12x
I have found this great little function to alternate my icons depending on the value (0 or 1).
Tables\Columns\...
0
votes
0
answers
83
views
editOptionAction with extraModalFooterActions
I have two related models Uom and UomCategory. In the Uom resource, I have an edit modal with a Select field to assign the UomCategory. In that Select I'm using a createOptionAction() and an ...
0
votes
0
answers
51
views
Using Select on a has_many_trough relationship from filamentphp on pgsql
Am working with laravel 11 with filamentphp 3 on postgres db, I have a schema for Authors, Profiles, Posts and post_has_author.
author(author_id, profile_fk,...)
profile(profile_id,...)
post(post_id,.....
0
votes
0
answers
47
views
How to find and remove injected script on Filament login page?
Someone injected an online gambling web script into my Filament website. I saw they inserted scripts in root, public, storage, and vendor folders. I have found some scripts, but there are still ...
-2
votes
1
answer
73
views
How to colorize summarizers and/or their output?
I am using summaries to display the total amount to pay:
TextColumn::make('price')
->summarize(Sum::make())
I would like to colorize the default "Sum" label and its output because ...
1
vote
1
answer
83
views
How to rename the summary section?
In Laravel Filament, I am using summaries to display the total amount to pay:
TextColumn::make('price')
->summarize(Sum::make())
I can rename the default "Sum" label:
TextColumn::...
1
vote
2
answers
169
views
how i could pass the server parameter to index and create and edit pages route?
im using filament for first time
this is my server resource
<?php
namespace App\Filament\Resources;
use Filament\Forms;
use Filament\Tables;
use App\Models\Server;
use Filament\Forms\Form;
use ...
0
votes
0
answers
160
views
How to use Filament Shield roles page with dynamic route parameter in a custom panel?
I'm working on a Laravel 11.44 project using FilamentPHP 3.2 and the Filament Shield plugin 3.2 for role and permission management.
I have two custom panels:
An Admin panel (/admin)
A Project Manager ...
1
vote
1
answer
239
views
Filamentphp Form wizard on livewire component not using @filamentStyles or @filamentScripts
I'm able to create a Filamentphp form on a livewire component to display it on a public page. However it's not using the filament styles.
Here is my livewire component
<?php
namespace App\...
1
vote
1
answer
309
views
Filamentphp 3.2 modal is not working with Laravel < 10
I have a problem with modal in Filament PHP that installed for a Laravel project.
In whole admin panel modals dialog is not showing but only modal transparent background shows up.
To clarification ...
0
votes
0
answers
50
views
How can be used TagsInput component to store related data using model hasmany relationship?
I have eloquent model to store specific car brand model years:
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
class CarModel ...
0
votes
1
answer
207
views
filament formatStateUsing() affects other TextInput field
I have these 2 fields. The ref_no with formatStateUsing() and ref_no without this method formatStateUsing(). Now the method formatStateUsing() affects both ref_no.
How do I prevent this?
TextInput::...
0
votes
2
answers
126
views
How to edit both Contact and related User records in Filament's editOptionForm?
I am using Filament for my application, and I have a form with a Select field. This Select field lists Contact records, each related to a User.
We are allowing users to add new contacts using the ...
0
votes
1
answer
164
views
How to Create Nested Resources in Filament 3
I have an event management system. Each event has speakers or sponsors. Here, I implement nested resources for Speakers.
When I try to delete a speaker record via the speakers page, I get an error ...
0
votes
0
answers
135
views
How to get the select options before saving in filament resource
The learner is still learning filamentphp I have a resource with dependent select fields and they are working as expected. The relationship saves correctly. However I am trying to get the form records ...
0
votes
0
answers
155
views
How do I display the clientOriginalFileName in a TextInput before form submission in Laravel?
I have a header action in a ListRecords type page where I show a simple modal with a FileUpload and a TextInput. The idea is the user will upload a file that will be saved with a random filename when ...
0
votes
2
answers
58
views
Use avatar in other model
I have a model for Product and a related ProductAsset model for images, videos or documents related to the product. What I want to achieve is to let the user upload the main image as a product asset (...
0
votes
0
answers
79
views
Custom Register Filament 3
I created a custom registry, it is recording correctly. My problem is subscribing to event(new Registered($user));
and Filament::auth()->login($user);
of the standard Filament Registry. My ...
0
votes
2
answers
306
views
Filament php routes working but any other routes showing 404
I've got the weirdest of problems. im using laravel 10.x and fimanent 3 and im having this issue where the filament routes work just fine but the routes ive created and have on web.php return 404. ...
1
vote
1
answer
561
views
laravel filament fileupload component default file/files using external url?
I am trying to save my private file on multiple servers (Reason: limited storage on each server) using an API (and FTP).
I want to use the Filament FileUpload component in my form, but I don’t want ...
0
votes
0
answers
121
views
How to redirect after delete on DeleteAction using Laravel Filament v3
Case/Scenario:
I add DeleteAction on my SettingsResource table but I got error404 after I click the confirm in the confirmation modal. AlThough I had "id" in the model but I used "key&...
1
vote
0
answers
137
views
Filament: How to associate each input text below to the single radio button when it is selected
I have a radio button; for each choice I make it shows me the input text associated with the choice made on the radio button.
The code below works well; what I am looking for is to put the text input ...
0
votes
0
answers
95
views
FilamentPHP: form in confirmation modal when creating record
I'm trying to customize the way a record is created. So, in the CreatePage of my resource, I have:
protected function handleRecordCreation(array $data): Model
{
// Here I want to access to ...
-2
votes
1
answer
67
views
Uncaught ReferenceError: error2 is not defined - Livewire - Filamentphp:
im having this issue with my laravel-filamentphp code
My login form is disabled... when i enter my credentials and press the login button i get the above errors in the console... Please help me to ...
0
votes
0
answers
261
views
Toggle Column Filament
public static function table(Table $table): Table
{
return $table
->columns([
ImageColumn::make('sns_icon')->visibility('private'),
TextColumn::make('...