Filament

F

Filament

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

Join

issue in filament v1

i had to install filament v1 and i'm not familiar with it. how can i remove bulkaction delete button and create button and edit button in list page?

Show Active Constraints?

With standard filters, you can see the active filters and click the little x to remove them. Is there a way to do this with each active constraint? I tried using indicateUsing() to build it out myself, but the x removed all constraints. When breaking them into individual chips and using remove field, I kept getting Undefined array key "type". Any suggestions?...

SelectConstraint Width?

Is this normal behavior for the value's select input to only fill the middle grid column? How can I get it to expand to span across both columns like the text's input does by default?
No description

Upgrade guide for plugins

Hey, First of all congrats on the v4 upgrade. I have a large v3 project which uses some plugins that are not upgraded yet for v4. I wanted to take this as an opportunity to learn more about these plugins. So I wanted to upgrade a plugin to support v4. I did see the upgrade guide over here https://filamentphp.com/docs/4.x/upgrade-guide. But I am wondering if there is also an upgrade guide for plugins. Thanks very much....

Separate APIs from Filament

Hello everyone, I was wondering if I can deploy my APIs without Filament and create another deployment for Filament only. In simpler terms, we have 1 code base that serves both APIs and Filament where they share the same models....

CheckboxList in Repeater broken

I am running into the exact same issue as this guy: https://github.com/filamentphp/filament/discussions/9061 The CheckboxList is selecting all options instead of just the one clicked IF it's sitting within a Repeater schema. What am I missing?...

Updating TextEntry using formatStateUsing

I have a custom infolist block that renders previews of html blocks inside filament for my app. It looks like this ```php PreviewBlockEntry::make('selectedVersionContent')...
No description

Select Table Row with the recordAction

I want to select a table row when clicking anywhere inside of it, because its more convenient in this case than to precisely hit the small checkbox on the left. Normally I would think this is done via the recordAction, but I'm struggling to find the correct Utility to inject to change the selected entry of the table.

Table inside custom field

We all know our selects and multi selects, but what if the different entries are a bit too complex for a dropdown? How do I display a table with all the options, so the user can have a great overview and choose the right one(s)? Maybe something a little bit like the image I attached. As far as I know there are no table components available and as the custom field itself is not a livewire component, I dont really know how to do this....
No description

********** React & PHP & Python **********

** React & PHP & Python ** I'm good at in these fields and I've worked for nearly nine years. Who need my help? If you want, I can help you anytime....

Keeping the selection despite searching

Hello everyone, In tables, can I keep items selected after more than one filtering using a search? For example: (I search for a specific name, select it, then search for another name, select it, and then perform a BulkAction.)...

Call to a member function partiallyRender() on null" with partiallyRenderComponentsAfterStateUpdated

Hello everyone, I'm trying to use the new partiallyRenderComponentsAfterStateUpdated method in my Filament v4 form, but I'm encountering a Call to a member function partiallyRender() on null error. My goal is to conditionally show a FileUpload or TextInput field based on the value of a Select field, and use partial rendering for performance....

In RichEditor Image how can set alt text

And How can be resize images and remove caption ?

Filament V4 Custom footer

I just migrated a filament v3 project to filament v4. The migration process was very smooth and completed without any hiccups. The only thing that is broken is the custom footer I had implemented. I have attached the footer here. Below is my Panel Service Provider. ```php public function register(): void {...
Solution:
Don’t import tailwind.css it’s already being imported by the filament theme. Just make sure the view for your custom footer is in a @source directive in the css file and rebuild the assets.
No description

Shield Package Naming of Permissions for Pages

Hi, Is there a way to name permission for pages a bit differently if they have same name. Example:...

Turn off unsaved changes warning for a single action (unsavedChangesAlerts)

Hi all, I’m trying to disable the unsaved changes alert for a specific action. I’ve tried the approach mentioned here: https://discord.com/channels/883083792112300104/1311097526434267298, but even after adding it to the ListRecords page, the alert still appears. ...

i want a full tutorial for filament for beginners

i want a full tutorial for filament for beginners

'unsafe-eval'

hi guys i have an issue with js 'unsafe-eval', just a fresh installation (l12 & f4) and follow first steps...how do you manage it?

Self-Referencing Nested Resource

I'm failing to set up a Resource where Pages can have subpages (of the same class). Is that somehow possible using a Nested Resources ? I've set up a parent and children relationship on the Page-Model. Following the docs I've managed to display child records but so far without a nested breadcrumb as the resource can't reference itself as $parentResource. Am I missing something? What would be the Filament way to do this?...