Filament

F

Filament

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

Join

Filament v4

Why when click actions the modal not displayed on custom page

FileUpload of pdf sets accessibilty to block but image is fine

When I upload an image to cloudinary, I'm able to access it without issue but a PDF file is tagged "Access control Blocked for delivery" in cloudniary console. Is this cloudinary or filament?...

Grouping by a relationship attribute issue (V4)

->groups([ 'address.address_line_1', ])...
No description

[V3] Decreasing the amount of character with a Richtext editor image.

I want to add images to descriptions, but 1 image adds over 2000 character in the string. with allot of (as far as I know) unneeded information. Is it possible to lessen the amount to just an "<img src="xxxx">"?...

Custom label in header column cells for repeater

I would like to add label to header cells in columns for ordering rows and actions. First column is order column, and I want to say 'Order' in that column And in the last column i would like to add 'Action' label. ...
No description

Action Buttons on Database Notification migrate from V3 to V4 are not same

I just upgraded from Filament v3 to v4, but the notification database in the action button ui (the background) seems to be different. V4 has the background color, but V3 doesn't. Does anyone know how to make it the same?...
Solution:
This is my first github issue and sorry if my English is not very good. Hopefully you guys can understand clearly https://github.com/filamentphp/filament/issues/17600 Please let me know if anything needs improvement....
No description

Issue on filament tables grouping rows when upgrade from v3 to v4.

How to group the record which value may or may not be always present on table. Row grouping code: Group::make('unscopedParent.name') ->label('Parent Client')...
No description

inlineLable

how can reduce the space between lable and option
No description

[V3] Run Export Action for all records without bulk

Hi, is it possible to run the export action as a normal action, so that it’s not a bulk action and just exports everything? Thank you!...
Solution:
if you use ExportAction in the page/table header instead of ExportBulkAction, it exports everything

Issue with Select field and relationships

Hello, After upgrading to v4 some functionality broke and I'm not able find the issue with migration docs... It concerns this Select field in my form:...

getOptionLabelUsing doesnt trigger

``` Select::make('revenue_district_office_id') ->searchable() ->getSearchResultsUsing(fn (string $search): array => RevenueDistrictOffice::query() ->where('code', 'like', "%{$search}%")...
No description

validation.in on form submit

Hey ! I don’t understand why I’m getting this message 'validation.in' when I try to submit the form, and as a result the form doesn’t submit ! ``` Select::make('matieres') ->label('Matière(s)')...
No description

livewire select placeholder proper method

My select works but does not display the placehold On a Filament Page my view looks like this: ``` State <x-filament::input.wrapper>...
Solution:
I see that I left in the disabled in the placeholder option

"Alpine is not defined"

Hi! I have an older Laravel project where Filament 3 used to work fine. Suddenly it stopped working, and all Filament views threw a JS error about Alpine not being found: ```...

recordAction() not working on v4

Hi all I have some nested resources and on my relationship manager I have a table with your standard, ViewAction, EditAction I want the recordAction set to the edit not the view. The table doesn’t seem to be listening to the setting and just goes for ViewAction every time. ...

ImageEntry Zoom Image

is it possible to click the image entry and it will zoom the image or it will open into a new page without creating controllers

404 on admin login

Hello, I am getting a 404 when I try to access the admin panel on my production server., I can access it locally with no issue. I checked the route list, it is declared. I am using Filament 3. What I tried : the recommendations on the guide post, modifying my composer to make Heroku point to the public folder, activate mod.rewirite in ht.access and adding a procfile. ...
Solution:
Update: I had to publish Filament and Livewire assets during Heroku build: in my composer. json "post-install-cmd": [ "@php artisan filament:assets", "@php artisan livewire:publish --assets" ]...

TextInput min/maxValues not being set

When trying to use the min and max values on a TextInput, it appears they are never set ```php TextInput::make('padding_top') ->label('Padding Top')...

Accessing parent resource when creating nested resource

Hi, When creating a new child resource from a relation manager's table on a parent resource, the new record will be automatically be attached to the parent you came from when creating the child as long as you don't add an input to select the parent. However, i wish to get some details about the parent you are adding this child to. How can i access these details?...
Solution:
managed to solve this by accesing livewire
$livewire->parentRecord
$livewire->parentRecord
...

Multiple forms on one page in v4

like this https://github.com/filamentphp/filament/discussions/8319 how can i achieve same approach with filament v4, i have multiple forms in one page, each form interacts with different model...