Filament

F

Filament

A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire

Join

How can I find out if the action is inside Table in V4?

Hi guys, I want to have only iconButtons in tables. I really love that now all actions are just Action, but I dont know if is possible to check, if action is used inside table. ```php private function configureActions(): void { Action::configureUsing(function (Action $action): void {...

Sending data from a custom page to another custom page

Hello colleagues. I'm developing a survey application with Filament and I'm encountering the following problem. I have two panels: adminpanel and employeepanel. From the employeepanel, users access a custom page (ListSurveyEmployee) that displays a list of the surveys they need to complete....

Relationship error in EditResource

Hi everyone! I'm facing an issue with relations in my EditResource. The relation elements are not all loading properly. For example, DatePicker fields are not filled with relation data, but the title field works fine. ...

stub

I created a Filament resource using the following command: -----php artisan make:filament-resource XYZ --generate --view --soft-deletes After running this, Filament automatically generated the following file structure:...

I can't install Filament on Laravel 11/12

this error, help me pls composer require filament/filament:"^3.3" -W The "3.3" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints ./composer.json has been updated...
Solution:
Enable the zip extension as the error says

page filters not working on table widget

I cannot get page filters to work on a custom dashboard page, I have this as the dashboard . My understanding is that I would only need to use the right traits HasFilterForm on the Dashboard class and InteractsWithPageFilters in the widget class, but $this->filters is always null in the widget query() method. Thanks for further help! I feel I'm missing something very obvious but I'm new to laravel fillament this being my first project on the platform. ```php...

How can i create a custom field that contains other fields?

I want to create a custom field that can contain other Filament Fields (defined on my custom field, not through the schema outside) but i cant seem to make it work, if i try to directly render a TextInput inside of my custom field I get the error of Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization ```php <div> @php...

All fields are aligned right by default

All forms I'm creating in custom livewire components have the fields align right by default. How do I make these full width and just stack vertically without the gap on the left?
No description

repeater in modal $record is empty

I'm having trouble populating my repeater in this action modal - even though the same repeater works perfectly when not in the modal (I've put it there only for troubleshooting - I only want the modal one). I can see that the relationship query does get executed by the modal repeater, but my text inputs there get only a null $record every time. Do I need a different parameter to access the record there? TIA for any pointers! ```php this one works as expected Repeater::make('projects')...

When i type inside of the globalsearch, this happens

Solution:
nvm fixed, i was using ``` PanelsRenderHook::GLOBAL_SEARCH_END instead of GLOBAL_SEARCH_AFTER...
No description

SPA mode not working on Laravel Cloud deployment

Heya, not quite sure if this is a Cloud issue or a Filament issue as there isnt actually an error. I have SPA mode enabled in my panel provider: return $panel...

Suggestion Please, Component not found issue with table deferLoading.

I’m using the deferLoading() method on a table, but occasionally I see a “Component not found” error in the browser console. When this happens, the table doesn’t render , it just stays stuck on the “Loading…” state. Interestingly, the issue goes away after doing a hard reload (Cmd + Shift + R), but it keeps coming back intermittently. Has anyone else run into this? Any idea what’s causing it or how to fix it permanently?...

Issue with tables in new release

We upgraded composer yesterday, and our filament tables acted strangely. If you click on a table action with a modal, close it, then open a different table action with a modal. The first one you opened will always show. Reverting back to 3.3 solved the issue. Just to let you know...

TableRenderHook Action

Hi, I'm trying to add my button action to the table next to the filters. For some reason, the slideOver modal doesn't open and the action just disappears. How do I correctly add the hook for that action? ``` public function mount(): void {...

filament shield Bezhan Salleh

I'm trying to generate policies in my Laravel project, but I'm encountering this error: The given role or permission should use guard web instead of super_admin. It seems that I'm assigning a role or permission that was created with the super_admin guard to a user who is authenticated via the web guard. This causes a mismatch. ...

<x-filament::grid

Hey everyone, im getting this error in one of my blade files: Unable to locate a class or view for component [filament::grid]. Does it not exist anymore or did they changed the way how to use it?

FileUpload Vimeo

Hi! I am planning to use the fileupload form to upload videos on vimeo using their API.. how will I achieve this? should i store first the video then upload it on vimeo and also how can I display the uploadd video when editing the record?

Render Hook for navigation items

I want a render hook that allows me add livewire components for each navigation item (such as an action as the photo show). is it possible now? or need some changes in the view files?
No description

Filament 4

I get intellisense errors when using stuff like ->label(), ->hiddenlabel() ->default(), Anyone know a fix for vscode?