510
questions
0
votes
1
answer
19
views
I need to implement inline edit on my filamentphp 3 resource view page
I am working on Laravel 11 and Filament php3. Now I need to implement inline edit on my resource view page. In my view page I am using info list builder to show content. So in a short I need implement ...
0
votes
2
answers
34
views
Filament Multi-tenancy extended with Spatie Permissions
I'm really having trouble to understand how things must be implemented in order to work together. Let me start with the Filament Multi-tenancy.
I have Organizations, they're related to Users with Many ...
-1
votes
0
answers
34
views
Pagination, per page and sorting doesn't work in filament table
I added Filament package to an existing project, and on this page with the filament table I see all the data, but when I click on pagination or sorting nothing happens. In console I see errors:
My ...
0
votes
0
answers
31
views
Undefined variable $component with Livewire (possibly related to blade @component not being processed)
Always undefined variable in $component, however not always in the /vendor/filament/notifications/resources/views/notifications.blade.php view (although lately has been). I understand this seems to be ...
0
votes
0
answers
29
views
Chart.js Streaming Plugin in FilamentPHP: Error: "realtime" is not a registered scale
I'm trying to integrate the chartjs-plugin-streaming plugin with Chart.js in a Laravel project using FilamentPHP for real-time data visualization. My goal is to use the realtime scale provided by ...
0
votes
1
answer
30
views
Filament FileUpload maxSize is ignored
i have livewire component where i have this filament form
class Categories extends Component implements HasForms, HasTable
{
use InteractsWithForms;
use InteractsWithTable;
public $customFields;
...
0
votes
1
answer
55
views
Laravel Filament v3: Property type not supported in Livewire for property
I'm upgrading my Laravel / Filament app from v2 to v3 (with Laravel 11, mysql, PHP 8.3).
Now I'm getting this error:
Property type not supported in Livewire for property: ["0.0000"]
The ...
0
votes
0
answers
59
views
How to refresh form data in Filament?
I have a Game object which can be controlled via the GamesResource. Here I have following section with actions and status messages inside my form:
Section::make('Game control')
->schema([
...
1
vote
0
answers
42
views
How customize Repeater's item using Livewire component?
Livewire 3x.
I have a Livewire component OpportunityQuote that has a Repeater in its structure, like this:
class OpportunityQuote extends Component implements HasForms
{
use InteractsWithForms, ...
0
votes
2
answers
102
views
Filament: Hiding Form Input Dynamically
I am working with Filament and Laravel and currently I've got these two field inputs for choosing City BASED ON Province Field, inside form() method:
Select::make("meta.employment_state")
...
1
vote
0
answers
20
views
why widget didn't appear in panel?
I created chart widget for data_log for my project, at my first code i created this code for Volume PerMonth. In my database there's users, metergas, logs. In column metergas there are serialNo, ...
0
votes
0
answers
52
views
Laravel Filament - Hide resource actions on reorder
I have a project that includes a custom Laravel Filament CMS. In this CMS i have a resource that contains some actions like view/edit/delete defined in my table(Table $table) method in the resource:
$...
1
vote
1
answer
69
views
How to implementing Modal with Edit Record Resource Filament
How can I modify the EditRecord code in my EditPermohonan class so that when the "Save" button is clicked, a modal appears to confirm the changes before actually saving? I want the modal to ...
0
votes
1
answer
69
views
Tenancy for Laravel and Filament FileUpload
I use Tenancy for Laravel (v3) and Filament (v3) to create a multi-tenancy application. I have a decent amount of applications working well using different domains for the various applications. ...
1
vote
1
answer
168
views
Laravel Filament V3 causes Action components on ViewResource to be disabled on polling
As the title suggests I have an application that receives a huge amount of data that gets updated aproximately 3-5 times every second for each record in the database. It is required that my ...
0
votes
0
answers
35
views
Filament Resource: Grand Total Not Updating on Product/Quantity Changes
I'm building an order management system using Filament in Laravel. However, I'm running into an issue where the grand total only updates when the discount field is changed, but it does not recalculate ...
1
vote
0
answers
49
views
Filament 3: TextInput numeric field truncating large numbers to first two digits?
I'm having an issue with Filament 3 where a numeric TextInput field is automatically truncating numbers. For example, when I enter "1000", it immediately becomes "10".
Here's my ...
0
votes
0
answers
65
views
Filament filters not updating data with Sushi model
I have a filament app with a resource which is loading data from an API using Sushi
This is the resource:
class PersonResource extends Resource
{
protected static ?string $model = Person::class;
...
0
votes
0
answers
43
views
New Filament project Styling not applied correctly
I just created a new filament project, no custom pages.
Just added a filament resource 'customers' and with some basic textInputs in the form and table:
public static function form(Form $form): Form
{
...
1
vote
0
answers
25
views
How to enable SMS 2FA in laravel filament dashboard using a custom endpoint not a known SMS service providers?
the problem I'm facing is: I want to use an endpoint that sends sms messages in laravel filament dashboard login as a 2FA.
Thats my SMS endpoint, Is there is anyway to use this for 2FA in filament ...
0
votes
1
answer
113
views
Filament Table Text Column action not firing
I have a Filament table widget, in which I do a semi complex query to fetch some grouped data:
public function table(Table $table): Table
{
return $table
->query(
$this->...
1
vote
1
answer
85
views
How to Update Textarea Values in Filament Component with JavaScript?
I want to update the value of textarea with JavaScript but when i submit the words i can only get data that users typed directly inside textarea and not changes by JavaScript
what should i do?
here is ...
0
votes
1
answer
131
views
Filament widgets grid and stats overview
I'm using filament dashboard and i'm trying to use some stats overview widgets. the problem is the styling as you can see. I created a custom dashboard page to put this global filter and i gave the ...
2
votes
1
answer
167
views
How to save data entered in a custom modal using Filament?
I am working on a Laravel project using Filament, and I want to create a custom modal to gather input from the user and save that data. However, I'm having trouble figuring out how to properly handle ...
0
votes
2
answers
170
views
Error 'Filament\Forms\Components\FieldSet not found' in Filamentphp v3.2
I'm facing a strange issue while deploying a Laravel project with Filament. Everything works perfectly on my local environment (Windows), but when I move the code to my production server (Ubuntu), I ...
0
votes
1
answer
42
views
Accessing sibling TextInput state in Repeater default method in Filament 3
I have a Filament Resource with the following form method:
public static function form(Form $form): Form
{
return $form
->columns(1)
->schema([
...
0
votes
0
answers
76
views
Possibility to hide a field on Filament 3 form
I need to hide and maintain a value of my Select field from form to maintain a certain logic involving multi-tenant, the Select needs be hidden and keep the default value. I have already used ->...
0
votes
0
answers
74
views
Filament and Filement shield assign role to user using relationship
i have user resource which is implemented with filamnet shiled
and now i required another resource Employee with Employee Model whete user_id is the foreign key from user table
i am trying to asign ...
0
votes
0
answers
98
views
alpine Warning: found "[x-sort]", but missing sort plugin
I am building a dynamic form filter using Filament, and need sort for drag and drop static elements to the form.
Now, I know alpine and livewire comes inbuilt with filament, but when i run
consele.log(...
0
votes
0
answers
34
views
Livewire poll stops updating during a function execution
I have a function that makes a few requests to external APIs and takes a little long to finish.
I have a status variable in my livewire component and a poll component updating it in the view, and it ...
0
votes
0
answers
105
views
I have a problem with notifications appearing twice on filament 3
I'm using filament 3 with laravel 10, so the problem is when I use after() after adding data entry there are 2 notifications that appear, the first is the default notification then the notification ...
0
votes
0
answers
134
views
Upload photo and save it to DB with Filament Laravel
I am using Laravel, with the Filament library. I uploaded images, they are saved in the corresponding storage folder, but when saving the data in the table, data is only saved when uploading the ...
0
votes
0
answers
39
views
How safely to make on filament / mysql site global search is case insensitive? [duplicate]
On laravel / filament / mysql site global search is case insensitive.
I can not edit eloquent queries like :
Model::whereRaw("UPPER('{$column}') LIKE '%'". strtoupper($value)."'%'")...
0
votes
0
answers
27
views
Getting 'geocoder undefined' error when using Leaflet Control Geocoder with Laravel Filament
I'm developing a Laravel application using the Filament admin panel. I'm trying to integrate Leaflet and the Leaflet Control Geocoder plugin to display a map and geocode addresses.
However, I'm ...
0
votes
1
answer
237
views
How to change the titles of the Create and Update resource pages?
I know how to add the title of a custom resource in Filament - it just requires a header label. So I added this to my "UserResource.php":
protected static ?string $label = 'Users';
Filament ...
0
votes
0
answers
71
views
How to Set Default Values for Only the First Instance of a Repeater in Filament Forms?
I'm working with a Filament form that includes a repeater component, and I want to set default values only for the first instance of the repeater based on some values from outside the repeater. ...
0
votes
1
answer
353
views
Filament PHP v3 how to show multiple table data on single resource view page?
I am currently work student management project using FilamentPHP v3. Before I make this post I already research on filament documentation and youtube but still not found how to solve it. For now I ...
0
votes
0
answers
41
views
Spatie Translatable - Checkbox list
I am developing a project with Laravel Filament. I am using the "Laravel-translatable" Package in the project.
I am saving the data in English and Spanish.
The data I saved in the database ...
0
votes
0
answers
97
views
Use Laravel Filament tables inside Wizard
I am trying to use Filament (v3) Wizard to assist creating quotations. on first step, I tried to get all user input, then using afterValidation method, I validated and iserted these into the database (...
0
votes
1
answer
179
views
Show images in view and editing with Filament Laravel
I am using Filament for first time, for Larvavel and I cannot see the images in the view and in the edit... If I can see them in the table like in the following screenshots: Table
View
Mi code:
<?...
0
votes
0
answers
111
views
Filament Shield - Unable to disable/enable SelectColumn with respect to User's Permission
-How do I Unable to disable/enable SelectColumn in table, with respect to User's Permission via Filament Shield Plugin which uses Spatie/Roles-permission under the hood
Here is my code which is not ...
0
votes
1
answer
80
views
Laravel Filament 3.x | how dependent select can save data in pivot table?
i have created many to many relationship of tbl_products with tbl_sub_categories table using pivot table.
and sub_categories are depends on categories, it's fine i am able to get dependent data. but ...
0
votes
0
answers
58
views
Add sound effect in laravel filament polling
I'm working on a Laravel Filament widget and I want to create a simple alert with sound whenever a new row of data is added to the widget table. Unlike notifications that alert everyone, I only want ...
0
votes
0
answers
28
views
FileUpload to attachments()
I have a HeaderAction on a Filament resource. This Action contains a form and an actual action. The form accepts a FileUpload as follows:
FileUpload::make('attachments')
->label('Bijlagen')
...
0
votes
1
answer
448
views
Disable Edit or Delete for specific record in Filament Laravel
In a model, I have 2 specific columns named 'is_editable' and 'is_deletable' (both are boolen). In filament table, while showing record, I want to disable Edit and/or Delete buttons if 'is_editable' ...
0
votes
1
answer
93
views
Private Channels not working in Filament project
I have a filament (laravel) project. I'm using filament for whole application. Authentication, roles, permissions everything is handled through filament.
In a filament custom page, I need to use ...
0
votes
0
answers
48
views
Laravel 10 + Filament V3: Dynamically Rendering Imagick Image in Wizard Form - "Undefined variable $imageUrl" Error
I'm developing an application using Laravel 10 and Filament V3. In my application, I have a wizard form where I want to dynamically generate an image using Imagick based on the selected color and font....
0
votes
2
answers
518
views
How to get current Laravel Filament resource page type (operation) create/edit/view
I need to customize some Laravel Filament v3 Resource Form Fields/Elements by the current page type index/create/edit/view. For example, hide some action Fields on a view page.
Resource PHP file (Bar)
...
0
votes
0
answers
130
views
dynamically change label in filament: laravel, php
I want to change the label:
Actual result:
Displayed “Remove from creators” button (like during deleting several creators)
Expected result:
only “Trash can” button displayed
count($records) === 1 ? ...
1
vote
1
answer
284
views
How to make form full width in filament custom pages
I am trying to create a multistep business registration page but the form with is so small that steps cannot be visible without horizontal scrolling.
I would like for my form to cover the entire page ...