Filament

F

Filament

Filament is a collection of beautiful full-stack components for Laravel.You can get help using it on our Discord.

Join
BBlackpig5/3/2024

Build not picking up my Theme CSS

I've added this plugin https://filamentphp.com/plugins/mokhosh-kanban and I'm updating the card view. I've published the views and added the path to my tailwind.config.js nad also tried adding the classes to the safelist but the classes are not being applied. Can anyone see anything obvious that I'm missing or experiences similar Resources structure in attached screen grab...
No description
SSarah5/3/2024

MarkdownEditor not recognising input

I have a Form with a Markdown Editor, it is a required field. When I enter some text and try to save the form, it says it is a required field, completely ignoring my input. If I change the input to a Text field it works fine.
SDSagar D.5/3/2024

Route [filament.app.pages.dashboard] not defined

showing this error when ever loggin in
Bben95635/3/2024

Custom Save Button for Create/Edit with Disable on FileUpload

Hello Filament Friends, I have a problem with implementing different Save Buttons. My process should be such that the Save buttons determine whether an entry is active or not (published). So, my implementation has several buttons below the form, including "Save" and "Activate and Save." I'm not sure if my implementation is good. Depending on which button is pressed, I adjust data, like this: ```PHP Action::make('saveAndActivate')...
DDarkavatar235/3/2024

Image Gallery On Modal like ImageColumn

I have to make an image selector to which I pass a collection like this ImageProduct::all() where customers select images and then they are passed to a PDF as an array....
ZZod5/3/2024

How can I add fields to / extend a resource from a plugin

I want to add a form field to an existing module/plugin we are using. I already tried extending the class and overwriting the form method but thats not working. Any idea how this could be done?
AAizaysi5/3/2024

I can't land home page.

When I install the database and try to land homepage, I fails.
No description
WWally5/3/2024

Attachments concept tips

Hello everyone, this is my first post so sorry if I make some mistakes. I've some entities that have attachments and others that may have other ones . My consideration (also doubt) is: is it better considering a db table where all the attachments converge therefore thinking a FileUpload component that manage morphTo relations, or manage each attachment as a field of that specific model?...
FFelix5/3/2024

Is it possible to have tabs that look like sub-navigation?

I want to have an edit page where I can change form by tabs that have the styling from sub-navigations. Is It possible?
Zzenepay5/3/2024

How I can enable the Relation Manager Action in view mode?

Normally, it is new action button is seen when it is in Edit mode. For user experience I would like to enable it in view mode. Please advise how I could do this. #crreataction #relationmanager
No description
Aadnn5/3/2024

Connecting the media library with entities?

I have a resource for product reviews that lists review, each review might have some images with it. Would it be possible to also have a media library to see all the review images at once, while also keeping the images in a relationship with the review, and assigning them to other reviews if needed? Also can I keep the images in something like google cloud or alike? ...
Ppgferro5/3/2024

Custom BulkAction

Hi guys, newbie here... in a table i would like to pass the selected record to a controller and then perform some operations with the data. Here is what i have When I click on the action button nothing happens ```php...
Cchrispage15/3/2024

Callback on resource creation in modal

Hi, I'm creating a resource and rather than using a dedicated create page I'm using a modal window. I need to manipulate the record once it's been created but I can't find a way to do it. I know there are hooks on the CreateRecord but I'm not using that page any more as it's just a modal. Help please!...
RHRemi Hindriks5/3/2024

Multiple Select that creates on submit

I have a Select in a form that allows users to attach Skill resources to themselves. ``` Select::make('skills') ->relationship(name: 'skills', titleAttribute: 'title') ->multiple()...
HHeartlandTechie5/3/2024

Notifications Markup not working as expected?

I'm using this and getting this: ` Notification::make() ->title('Summer Student: ' . $this->student_name) ->icon('heroicon-o-tag')...
No description
AAlexandre5/3/2024

Header action on section to go back on a specific step on a Wizard Form

Hello, I was wondering if it was possible, in a Wizard Form, to have a button that would allow you to go back to a specific step? Let me explain: I have a 4-step form, and the last step is a "resume" where I'll display all the fields from each step in a specific section with placeholders. So I wanted to create a "Modify" action button in the header of each section, which would link to the form step containing the fields....
Kkhairulazmi_5/3/2024

Modal Action inside Slideover [BUG]

I have issue when I click modal inside Slideover , the page hangs . Would it be possible to achieve this ? Where Modal is inside Slideover ....
Hhello_world5/3/2024

I can't formatState of TextColumn having value null

```TextColumn::make('last_contacted')->date('M d')->label('Last Attempt')->sortable()->formatStateUsing(function($state){ if($state != null){ info($state); } else{...
SSoundmit5/3/2024

Hidden field works only while create and not edit

Hi, i have 2 dependant fields ``` Section::make('Customer type and company') ->schema([ Radio::make('customer_type')...
TToonVD5/3/2024

Widget lazy loading no loader

Hi all Is it normal that I don't see a loader on lazy loaded content that takes a bit longer? Might be a ux improvement....
Next