Rome
Rome
FFilament
Created by Rome on 6/11/2024 in #❓┊help
Open custom modal action on record click
Thanks a lot Leandro!
14 replies
FFilament
Created by Rome on 6/11/2024 in #❓┊help
Open custom modal action on record click
Well, atleast I can hide it in the action group
14 replies
FFilament
Created by Rome on 6/11/2024 in #❓┊help
Open custom modal action on record click
So to make it work, I need to have the action in the row? I can not hide it?
14 replies
FFilament
Created by Rome on 6/11/2024 in #❓┊help
Open custom modal action on record click
Ohh nice!! Its working
14 replies
FFilament
Created by Rome on 6/11/2024 in #❓┊help
Open custom modal action on record click
Tables\Actions\Action::make('Test') ->modalContent(fn (Model $record): View => view( 'filament.pages.elemento-ventas', ['ventas' => $record->pivot->ventas], )),
14 replies
FFilament
Created by Rome on 6/11/2024 in #❓┊help
Open custom modal action on record click
What do you mean with row action? Right now I have an action to open a custom modal, but I need to open it when i click on the row and not on the button.
14 replies
FFilament
Created by Rome on 6/3/2024 in #❓┊help
Format state of select filter
Working! Thanks a lot! Didn't find in the doc, I was searching on "Table Builder" -> "Filters".
8 replies
FFilament
Created by Rome on 6/3/2024 in #❓┊help
Format state of select filter
Not working when you have a relationship() method, but thanks!
8 replies
FFilament
Created by Rome on 5/13/2024 in #❓┊help
Excel export autofit column width
Not working 😦
22 replies
FFilament
Created by Rome on 5/13/2024 in #❓┊help
Excel export autofit column width
I did not. Right now I'm doing it manually on the excel.
22 replies
FFilament
Created by nowak on 4/25/2024 in #❓┊help
How to fully disable export action modal?
Hello. Did you find any solution?
12 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
Show relation manager of a relation manager in same view
Ok thanks, I'll do that. Related to do it on a modal, do you see viable? Not just a table, just the table with actions, create, edit, relating the rows, etc...
14 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
Show relation manager of a relation manager in same view
Well. In the modal I would need to create new sales related to the element, edit current ones and also they had two custom actions buttons. So I think I would need to do all the logic manually without filament provided functions, right? So I think that's not a simple table. Maybe the first solution would be better, extending the page. Could you tell me which section of the livewire/filament documentation I should start looking at? Again, thanks a lot!!
14 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
Show relation manager of a relation manager in same view
So I need to create a custom livewire view? I didnt understand you. Sorry but Im not too familiar with livewire, only with laravel...
14 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
Show relation manager of a relation manager in same view
I will try to explain better, its easy. In my app I have companys (this companys are gas stations). Each gas station has different elements (many to many). So I have a relation manager in the company resource with those elements (IMAGE1). Those elements, in turn, have product sales (another many to many). So on the elements resource page I have another relation manager (IMAGE2). Up to here everything is fine. To view each element product sales, I have to click on each element in the company resource page and it redirects to element resource page with their products in the relation manager. What I need is to avoid that extra step to view those products. So, when I click on an element in the company resource page, would like to load that products on the same page (IMAGE1) (maybe under the relation manager table or... in a modal?). How could I achieve this? Thanks a lot.
14 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
Show relation manager of a relation manager in same view
Well, its not necessarily needed to embed RM, would be resource page + relation manager (after all its a link, right?). That's what you mean? And in the other hand, if I want to make a custom view that when a action is clicked just print relation (manually), is there any documentation? Thanks a lot!
14 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
Show relation manager of a relation manager in same view
Thanks for you response. What I need is when I click a row in the first image (or the button Test) load under the table the other relation manager. I mean, load the relation without changing the web page. I understand that I should create a custom view for that, right? But I don't know where to start... Or maybe instead custom view it would be viable to embed his relation manager on a modal? What do you think?
14 replies
FFilament
Created by NickNyamu on 5/15/2024 in #❓┊help
How do you delete a PDF file from storage after the Edit.(only changing the FileUpload)
You can customize the edit action, so after updating you can delete old storage file https://filamentphp.com/docs/3.x/actions/prebuilt-actions/edit#lifecycle-hooks
7 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
RelationManager problem with duplicate relationship
Ok, I solved with allowDuplicates(): return $table ->allowDuplicates();
5 replies
FFilament
Created by Rome on 5/15/2024 in #❓┊help
RelationManager problem with duplicate relationship
I found when I toggle, it executes a query with a select ... where items.id = '4' limit 1 so if there are duplicate items on same company it always returns first ocurrence.
5 replies