Felix
Felix
FFilament
Created by Felix on 5/3/2024 in #❓┊help
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?
10 replies
FFilament
Created by Felix on 4/19/2024 in #❓┊help
Origin https://[xxxxxx].test is not allowed by Access-Control-Allow-Origin. Status code: 200
No description
14 replies
FFilament
Created by Felix on 4/17/2024 in #❓┊help
FileUpload loading image fails
No description
14 replies
FFilament
Created by Felix on 4/9/2024 in #❓┊help
New line in `modalDescription`
Hello, I am trying to make an new line in my ->modalDescription() . but \r\n and <br> does not work. does someone knows how to do it?
4 replies
FFilament
Created by Felix on 1/22/2024 in #❓┊help
run dispatch before `public function table()`
Hello, I want to run an dispatch function before the table function. Is there an way to do it? and if not is it possible to re render the table after the dispatch?
1 replies
FFilament
Created by Felix on 1/22/2024 in #❓┊help
Table communication
the class off the changing table
1 replies
FFilament
Created by Felix on 1/18/2024 in #❓┊help
How do you make tables communicate with each other.
I want to make an page with two tables, where on the first I have an list of all talk rooms and on the second I have all the participants of the selected room. How do I make it so that both are on the same page and both are made by the filament table builder?
15 replies
FFilament
Created by Felix on 1/17/2024 in #❓┊help
How to change color on an livewire table component
I want to change some text to amber but they stay black (even in darkmode). i tried ->color() but it didn't work, how do I do it?
2 replies
FFilament
Created by Felix on 1/15/2024 in #❓┊help
Error `Could not find Livewire component in DOM tree`. How do I fix this?
I have an laravel page with an filament table component, but the paination is not working, I looked in my browser console and got this: Could not find Livewire component in DOM tree, what does this mean and how do I fix this?
5 replies
FFilament
Created by Felix on 1/15/2024 in #❓┊help
Is it possible to add filament javascript with an filament table to an non filament page?
I want to add an filament table to an normal laravel page where the layout is an standard laravel layout. How do you do this?
9 replies
FFilament
Created by Felix on 1/12/2024 in #❓┊help
pagination breaks on live server.
No description
23 replies
FFilament
Created by Felix on 1/10/2024 in #❓┊help
How do I make the Textinput datalist dorpdown none native?
I am making an form with an input where you can type or chose what role you have but it uses native select dropdown. is it posible to make the Textinput datalist dorpdown none native like the select?
3 replies
FFilament
Created by Felix on 1/9/2024 in #❓┊help
Question: why does the Table go under the $table->contentFooter().
I have been testing on how I can make an footer with an action button under my table, but the table goes under the footer (when i use $table->contentFooter()). I also have tested it on an clean new project and it does the same. what is the method/way to fix this?
2 replies
FFilament
Created by Felix on 1/8/2024 in #❓┊help
filament Table main content goes under the footer.
Hello, I am working on an Livewire component with an filament table (made via: php artisan make:livewire-table) and I am adding an custom footer to it, but the table goes under the footer (the footer is added by: ->contentFooter()). so the order of the table is: Header -> Footer -> Table. and I can't find the solution in the docs. what am I doing wrong? the code: public function table(Table $table): Table { return $table ->heading('upcoming Projects') ->query(Project::query()) ->modifyQueryUsing(fn(Builder $query) => $query->where('project_date','>=', now())->take(4)) ->columns([ Tables\Columns\TextColumn::make('name'), Tables\Columns\TextColumn::make('project_date'), ]) ->actions([ Tables\Actions\Action::make('go to') ->url(fn (Project $record): string => route('project.show', ['id' => $record])) ]) ->contentFooter(\view('livewire.projects.footers.table-footer')) ->paginated(false); }
4 replies
FFilament
Created by Felix on 1/8/2024 in #❓┊help
costom table widget query is empty
I am trying to have an table with all upcoming projects that I have, but when there are no project coming it gives an Unable to create query for empty collection. . the code is public function table(Table $table): Table { return $table ->query( function () { return Project::where('project_date','>=', now())->get()->sortBy('project_date')->take(7)->ToQuery(); } ) ->columns([ Tables\Columns\TextColumn::make('name'), Tables\Columns\TextColumn::make('project_date'), ]) ->defaultSort('project_date') ->actions([ Tables\Actions\EditAction::make() ->url(fn (Project $record): string => route('filament.admin.resources.projects.edit', ['record' => $record])) ]) ->emptyStateHeading('No upcoming projects') ->paginated(false); } I am rather new with widgets and I haven't worked with ->query before.
4 replies
FFilament
Created by Felix on 12/18/2023 in #❓┊help
mutateTableDataBeforeFill in an relation manager
I'm am trying to mutate some data in an relation manager that uses an oneHasMany table with an pivot, so that i can get the name of the related API data.
2 replies
FFilament
Created by Felix on 10/27/2023 in #❓┊help
How to use an api in filament
I have been trying to do is to use an external api with filament to list, view and edit. What I have done is installing an api driver on my Laravel project and looked to integrate the api with my filament. I tried to do it with a normal resource but i have no luck in making it work, I have also looked in the custom tables, forms and view docs but no luck. I can't find the relevant docs to make it work. Is it possible to use an api with filament? note: i am rather new with external api's in Laravel and Filament.
28 replies