Punyapal Shah
Punyapal Shah
FFilament
Created by Punyapal Shah on 1/17/2025 in #❓┊help
Authorization with Livewire Component
can be done like this
Action::make('edit')
->authorize('update')
Action::make('edit')
->authorize('update')
4 replies
FFilament
Created by Aethyrion on 1/16/2025 in #❓┊help
Testing modal form in resource relation
best
->callTableAction('create', data: [
'line_1' => $line1 = 'Test Line 1',
'line_2' => $line2 = 'Test Line 2',
'city' => $city = 'Test City',
'state' => $state = 'Test State',
'postal_code' => $postalCode = 'TE1 1ST',
'type' => $type = AddressType::BILLING->value,
])
->callTableAction('create', data: [
'line_1' => $line1 = 'Test Line 1',
'line_2' => $line2 = 'Test Line 2',
'city' => $city = 'Test City',
'state' => $state = 'Test State',
'postal_code' => $postalCode = 'TE1 1ST',
'type' => $type = AddressType::BILLING->value,
])
21 replies
FFilament
Created by Aethyrion on 1/16/2025 in #❓┊help
Testing modal form in resource relation
use setTableActionData at the place of fillForm
21 replies
FFilament
Created by Punyapal Shah on 11/18/2024 in #❓┊help
how do you test `extraModalActions`?
solution
Livewire::test(ListPost::class)
->loadTable()
->mountTableAction(['edit-post', 'delete-post'], $post)
->callMountedTableAction();
Livewire::test(ListPost::class)
->loadTable()
->mountTableAction(['edit-post', 'delete-post'], $post)
->callMountedTableAction();
5 replies
FFilament
Created by Punyapal Shah on 11/18/2024 in #❓┊help
how do you test `extraModalActions`?
my progress
Livewire::test(ListPosts::class)
->loadTable()
->mountTableAction('edit-post', $post)
->mountTableAction('delete-post', $post)
->callMountedAction();
Livewire::test(ListPosts::class)
->loadTable()
->mountTableAction('edit-post', $post)
->mountTableAction('delete-post', $post)
->callMountedAction();
5 replies
FFilament
Created by Punyapal Shah on 5/20/2024 in #❓┊help
tooltip
Junior dev wasn't aware of it! Thanks 👍
11 replies
FFilament
Created by Punyapal Shah on 5/20/2024 in #❓┊help
tooltip
I found the Issue. It caused by some assets injected through body end and head start hooks!
11 replies
FFilament
Created by Punyapal Shah on 5/20/2024 in #❓┊help
tooltip
Thanks for the update
11 replies
FFilament
Created by Punyapal Shah on 5/20/2024 in #❓┊help
tooltip
Woops 👀
11 replies
FFilament
Created by Punyapal Shah on 5/20/2024 in #❓┊help
tooltip
Split::make([
Tables\Columns\TextColumn::make('start_time')
->time('H:i')
->grow(false)
->tooltip('Start Time')
->icon('heroicon-m-clock'),
Tables\Columns\TextColumn::make('between_time')
->grow(false)
->default('-'),
Tables\Columns\TextColumn::make('end_time')
->time('H:i')
->grow(false)
->tooltip('End Time'),
]),
Split::make([
Tables\Columns\TextColumn::make('start_time')
->time('H:i')
->grow(false)
->tooltip('Start Time')
->icon('heroicon-m-clock'),
Tables\Columns\TextColumn::make('between_time')
->grow(false)
->default('-'),
Tables\Columns\TextColumn::make('end_time')
->time('H:i')
->grow(false)
->tooltip('End Time'),
]),
11 replies
FFilament
Created by Punyapal Shah on 5/20/2024 in #❓┊help
tooltip
11 replies
FFilament
Created by LJ on 10/8/2023 in #❓┊help
TextColumn tooltip displays content and theme
facing same issue
18 replies
FFilament
Created by Punyapal Shah on 11/1/2023 in #❓┊help
client side Datatable
Thanks @Dennis Koch, I was just cross checking if it possible to do so... thanks for your time
8 replies
FFilament
Created by Punyapal Shah on 11/1/2023 in #❓┊help
client side Datatable
I'm working with widgets. I have 5 widgets one of which I'm using for filters, it dispatch event with the filters. I have a common function that provides data to all widgets from the cache based on filters. so the case is I already have the data on the client side and if I use table builder then I have to provide a query and all things work with server call even if I have data already. Ttherefore I'm looking client side debatable
8 replies
FFilament
Created by Punyapal Shah on 10/17/2023 in #❓┊help
Table UI (Per Page)
thanks again
6 replies
FFilament
Created by Punyapal Shah on 10/17/2023 in #❓┊help
Table UI (Per Page)
ok thanks
6 replies