Questions tagged [filamentphp]

22 questions
2
votes
1 answer

Filament PHP: Showing RelationManager Table trought Action

Is there any way to show the table that appears on the bottom of the edit page when I select an Event in my EventResource? I have a ParticipantRelationManager in the EventResource class and it works just fine, I just wanted to display the table in a…
1
vote
0 answers

How to show livewire component as modal window for filament table action

I am going to show a livewire component in modal window when user clicks a filament table action. protected function getTableActions() { return [ ActionGroup::make([ ViewAction::make()->form([ …
0
votes
0 answers

Add button inside form in Filamentphp v2

Have you tried creating a form in filamentphp with button inside it? I want to add button inside the field set and it's function is to clear the radio button. What I have in my form is a field set and inside it there are 3 radio button.
0
votes
0 answers

How to export filtered table data to PDF in Filament using DomPDF?

I'm new to Filament and I have a question. I'm using default filters in my Filament project, I want to export only filtered table data to a PDF using DomPDF. For instance, 10 records are in the database, and after using the filter only 3 reflect in…
syed
  • 1
  • 3
0
votes
0 answers

Laravel Filamentphp 3.0: Relation Column

I have a problem with my Laravel filaments Relation in the "backend" interface. The column with my Relation isn't shown. I have a simple model with a Profilisocial and Users. The edit is working and updating the Database as expected, but I cannot…
user626920
  • 35
  • 1
  • 6
0
votes
0 answers

Is it possible to add the CRUD actions to a infolist in Filament PHP v3?

I want to give the user ability to change stuff in the table, so is it possible to apply crud-opertaion-actions to my table inside a infolist. Currently nothing appears but the crud-actions are set, so what should i do get it to appear? public…
0
votes
1 answer

How can I show related columns in a table in PHP Filament v3

I have two tables Advisors and AdvisorRegions and the relation looks like this. One advisorRegion has many advisors and one advisor has one advisorRegion. Now I want to show the name of the advisorRegion in the advisors-resource table. I have the…
stevan06
  • 57
  • 4
0
votes
1 answer

Filament Many To Many Relation Manager , not working

I have the model Student Student groups : BelongsToMany and model Group Group students: HasMany of course there is a pivot table group_student with group_id student_id I am trying, in Filament3, to set up a StudentRelationManager , so that I can…
0
votes
1 answer

Laravel Filament v2 - $this->record doesn't exist when using a simple resource

Title pretty much says it all, I'm exploring Filament v2 and trying to make a simple modal that creates a user, manipulates the password to be a random string, and then fires an email once saved. When I used this code on a normal resource,…
0
votes
0 answers

Using Filament and stancl/laravel how can i put the login page in Central Domain?

The filament tell to do that https://filamentphp.com/docs/2.x/admin/resources/getting-started#multi-tenancy I follow the documentation, and the login page goes to the tenants subdomains. How can i put the login page in central domain and through a…
0
votes
1 answer

Insert the same table widget multiple times with a param (FilamentPhp)

I need to create a widget to display the last records in a table within a category and reapeat that for every category matching certain criteria. The problem here is that I haven't found a way to do this without manually creating a widget for every…
Branpg
  • 3
  • 2
0
votes
0 answers

Creating a dynamic repeater based on conditions and numeric values upon selecting an option from a Select box in FilamentPHP

I am developing an application using Laravel FilamentPHP. However, I have a specific requirement where I want to create a dynamic repeater based on the selected option from a Select box, considering certain conditions and numeric values. Once the…
0
votes
1 answer

How do I add data to two tables in one form submission using filamentphp?

This is the scenario: I have two tables i.e Student and Guardian. They all have one form as stated below I want when the form is submited. It creates a student gets the student Id and also adds the guardian data along with the student id. The…
0
votes
1 answer

Show table on laravel filament resource edit page

I am on laravel filament and I wanted to show a history of the subscription like Shopify show app history, I am able to fetch the subscription on the index page of the subscription resource but I don't know how can I show a history of the…
1
2