Changing background panel
Hey, I was curious if anyone has tried changing the background or adding a logo to the background of the panel. I've seen this done on the login page, but I haven't come across anyone doing it on the panel itself. Are there any existing methods, plugins, or ideas on how this could be achieved?
Solution:
Hi. I Hope this post can help you https://filamentmastery.com/articles/customize-your-filament-panel-theme
Notifications dissapears after navigate with spa().
Hello - just little question. Is there a way to make notifications persist when navigating between pages using navigate (spa method) in the provider?
tailwind config missing
Hi there,
New to filament.
Created a fresh new laravel project and installed filament....
Column action and layout
Hi again. As mentioned in this post(https://discord.com/channels/883083792112300104/1352562209645006930 ), I added action to my TextColumn and everything was working fine until I decided to customize the layout.
What I did: I added Stack and Split to my table, and it turns out that the column with action breaks the display of the whole table. No matter what action, even an empty action with function() {} starts mercilessly spinning the columns all over the page.
Any idea what this could be related to? If necessary, I can provide the resource code...
Custom Editor Form
I have created a custom form, by custom I mean it load dynamically base on a select and the select is base on the X array...
So. you have an array with
["name"=>
[
"label"=>"Name module",...

How to persist localeSwitcher
I've added Spatie Translatable and the Actions\LocaleSwitcher to my list and edit pages. My default langauge is en. I have one other es language. When I switch to es, then hit edit on the list page, it loads the page in en. Is there a way to make the localeSwitcher selection persist across page loads?
Align toggle/checkbox
Is it possible to align a toggle/checkbox to make it look like the 2nd example?
No combination of
->inline()
/->inlineLabel()
seems to work....
Target class [livewire] does not exist.
I have installed the Pest Livewire plugin according to the documentation:
https://pestphp.com/docs/plugins#livewire
I set up a
...
https://pestphp.com/docs/plugins#livewire
I set up a
TestCase
, configuring the default user and panel....
Running action throws "using $this when not in object context"
I'm working in the table of a standard Filament resource.
The documentation says I can do this: https://filamentphp.com/docs/3.x/tables/columns/getting-started#action-modals
```
use Filament\Tables\Actions\Action;...
Solution:
->action(function (Post $record, Page $livewire)...
then, use $livewire->dispatch(..
...filament repeater to store values to multiple rows
i have a project where i should be able to add stocks for the products. and i want to add multiple stocks using repeater . here each product has many relation to stock.
problem: repeater gives output as json to one single cell in the db but i want it to fill columns and rows how do i do...
Checkboxlist - disable click on label
Hi all,
I've got the following checkboxlist:
```...
Solution:
try
```css
.fi-fo-checkbox-list-option-label {
@apply pointer-events-none;...

Export Action didn't Export A Defined Column
Im trying to export a table of temporary password into xlsx & csv. The migration and model is pretty simple
model
```class TemporaryPassword extends Model
{...
Attach BelongsToMany after creating a record in from a table
Sorry, the title is weird but I'm not sure how to summarise it.
I have a many-to-many relation something like
```php...
custom page form from resource
hi just want abit of advice i've added the element to my custom page:
...
<form wire:submit.prevent="submit">
{{ $this->form }}
</form>
<form wire:submit.prevent="submit">
{{ $this->form }}
</form>
Display data based on the option selected in select
Hi colleagues.
I'm wondering if anyone can help me.
I've created a form with a related drop-down menu that loads tutor data....
Render relation manager under condition
Is in filament possible to show relations only under some condition ? I need to show ProductsRelationManager only, if the edited Category isnt parent.
Image is just example, what I would like to create....

Not Working LocaleSwitcher if i selected de or en
` ->afterStateUpdated(function (Set $set, ?string $state, Get $get) {
$locale = $get('activeLocale') ?? app()->getLocale(); // Get current locale
dd($locale);
$slug = $get("slug.{$locale}");
...
Tenancy Cors error
Hi all,
I'm using tenancyforlaravel icw filament, and most all is working fine. But now on a ToggleColumn I get the following cors error:
- Access to script at 'http://examp.test/js/filament/tables/components/table.js?v=3.3.5.0' from origin 'http://duru.examp.test' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- GET http://examp.test/js/filament/tables/components/table.js?v=3.3.5.0 net::ERR_FAILED 200 (OK)
- Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: http://examp.test/js/filament/tables/components/table.js?v=3.3.5.0...
Force select value based on a toggle option
I have a select value with three possible values (0 ,1, 2) ,next to it I've a toggle, when the toggle is true, the select value must be 2.
So on my Toggle I'm using ->reactive()->afterStateUpdated( to update the select value, and on my select I'm using disabled(fn ($get) => $get('my_toggle') === true).
The problem is that now the select values does not gets submitted, so the value is never updated. Is there a "pretty" way to do it ? As there's no readonly method on Select....
Solution:
ssooo
...
->disableOptionWhen(fn (string $value, $get): bool => ($get('my_toggle') === true && $value !== '2'))
->disableOptionWhen(fn (string $value, $get): bool => ($get('my_toggle') === true && $value !== '2'))
togglebutton group information
hello team, I read the docs, but I still not have the right behaviour I want with filament
I created a filament page, with a form filled, and I want to group my items by sort of information
In other words, I have an array which contains another array in it, and I would like to split my array into 2 defined groups
``` return $form...