jals65
jals65
FFilament
Created by Dan Harrin on 2/27/2025 in #❓┊help
Help Us Improve Filament’s Docs & Education in v4
Thanks! Good to know.
29 replies
FFilament
Created by Dan Harrin on 2/27/2025 in #❓┊help
Help Us Improve Filament’s Docs & Education in v4
No, I didn't know about those videos.
29 replies
FFilament
Created by Dan Harrin on 2/27/2025 in #❓┊help
Help Us Improve Filament’s Docs & Education in v4
My biggest problem when I started was the documentation related to customizations. When I wanted to create custom components or custom views, I always ran into quite a few problems with this since the documentation in that sense was scarce. This was largely fixed in v3 thanks to the "Adding to a Livewire component" sections, but it's still pretty sparse, and it could still be developed a little more in that regard. In general I see the rest very well.
29 replies
FFilament
Created by jals65 on 2/14/2025 in #❓┊help
Any way to get selected records on an bulkaction form?
thanks
6 replies
FFilament
Created by jals65 on 2/14/2025 in #❓┊help
Any way to get selected records on an bulkaction form?
I can't get $livewire in the function parameter, but i can do $this->getLivewire()->getSelectedTableRecords() and it works
6 replies
FFilament
Created by jals65 on 2/13/2025 in #❓┊help
UserResource on modularized app
Before making this change, in the UserResource I did not have the form function, since this form was autogenerated. Now, however, I have had to create the form, if I do not add this form manually nothing is displayed, only the save and cancel button appears.
7 replies
FFilament
Created by jals65 on 2/13/2025 in #❓┊help
UserResource on modularized app
All namespaces are correct and all the pages are moved.
7 replies
FFilament
Created by jals65 on 2/13/2025 in #❓┊help
UserResource on modularized app
Yes
7 replies
FFilament
Created by MacTavish on 11/20/2024 in #❓┊help
Open Modal after Action Execution to show the result
Thanks @Azorky, i'm going to review that
5 replies
FFilament
Created by MacTavish on 11/20/2024 in #❓┊help
Open Modal after Action Execution to show the result
I have the same problem. I'm doing an action with a form to create an api token.
Action::make('create_token')
->form([
TextInput::make('name')
->unique()
->required(),
DateTimePicker::make('expiration_date')
->required()
->minDate(now()->addHour()
])
->requiresConfirmation()
->action(function (array $data) {
$token = auth()->user()->createToken($data['name'], ['*'], new \DateTime($data['expiration_date']))->plainTextToken;
// Here then i want to open a new modal to show the $token value
})
Action::make('create_token')
->form([
TextInput::make('name')
->unique()
->required(),
DateTimePicker::make('expiration_date')
->required()
->minDate(now()->addHour()
])
->requiresConfirmation()
->action(function (array $data) {
$token = auth()->user()->createToken($data['name'], ['*'], new \DateTime($data['expiration_date']))->plainTextToken;
// Here then i want to open a new modal to show the $token value
})
I want to open a new modal after token it's created on ->action() to show the value of the token generated
5 replies
FFilament
Created by jals65 on 7/8/2024 in #❓┊help
Action don't works on custom ViewRecord page
Oo, thanks. That works.
5 replies
FFilament
Created by jals65 on 7/4/2024 in #❓┊help
Custom colum view
Thanks
7 replies
FFilament
Created by jals65 on 7/4/2024 in #❓┊help
Custom colum view
it works with $getState()
7 replies
FFilament
Created by jals65 on 6/25/2024 in #❓┊help
TextInput with follow action
Thanks for that @toeknee @Leandro Ferreira
10 replies
FFilament
Created by jals65 on 6/25/2024 in #❓┊help
TextInput with follow action
But any way to get it on the suffixAction?
10 replies
FFilament
Created by jals65 on 6/25/2024 in #❓┊help
TextInput with follow action
Where can I inject ?string $state ?
10 replies
FFilament
Created by jals65 on 5/2/2024 in #❓┊help
Adding id's to filament components
Ok, thanks.
6 replies
FFilament
Created by jals65 on 5/2/2024 in #❓┊help
Adding id's to filament components
hi?
6 replies
FFilament
Created by jals65 on 5/2/2024 in #❓┊help
Adding id's to filament components
I see that actions have extraAttributes function where I can add this attributes. But for example in some parts of the app like search, menu, tables or forms, I don't know how to do that.
6 replies
FFilament
Created by jals65 on 4/15/2024 in #❓┊help
Record variable type change to string if i add the mount function on my viewrecord page
Thanks, I was missing that: parent::mount($record);
6 replies