magarrent
magarrent
FFilament
Created by magarrent on 5/16/2024 in #❓┊help
Static tables docs?
Hey! Just saw this github issue: https://github.com/filamentphp/filament/issues/7105#event-13b90a39-8553-588c-b7d9-8dc246f8f392 It's marked as completed, but I don't see the tables documentation on the website. Is it published already?
5 replies
FFilament
Created by magarrent on 5/14/2024 in #❓┊help
V3 tables not working (Standalone)
No description
16 replies
FFilament
Created by magarrent on 4/29/2024 in #❓┊help
Overflow Select dropdown on modal
No description
4 replies
FFilament
Created by magarrent on 9/25/2023 in #❓┊help
V3 Notifications Js error
No description
9 replies
FFilament
Created by magarrent on 8/12/2023 in #❓┊help
Is ->sortable() working on V3?
Hey, I'm using filament 3.0.13 and sortable seems to be not working at all. No console errors, no livewire errors. And the code is as same as always:
Tables\Columns\TextColumn::make('created_at')
->size('sm')
->sortable(),
Tables\Columns\TextColumn::make('created_at')
->size('sm')
->sortable(),
I have another TextColumn for a simple text name and also the same. Any ideas?
2 replies
FFilament
Created by magarrent on 7/26/2023 in #❓┊help
Can upgrade Livewire V3
13 replies
FFilament
Created by magarrent on 5/29/2023 in #❓┊help
How to prefill data after "createAnother" action?
Hey, just wanna maintain some inputs prefilled when I hit the "createAnother" button. I'm trying some Action methods but can't get it :/
protected function getCreateAnotherFormAction(): Action
{
return Action::make('createAnother')
->label(__('createAnother'))
->dispatchSuccessRedirect()
->beforeFormFilled(function () {
$this->data['employee_id'] = request('employee_id');
$this->data['project_id'] = request('project_id');
$this->data['date'] = request('date');
$this->data['imputation_type'] = request('imputation_type');
})
->action('createAnother')
->keyBindings(['mod+shift+s'])
->color('secondary');
}
protected function getCreateAnotherFormAction(): Action
{
return Action::make('createAnother')
->label(__('createAnother'))
->dispatchSuccessRedirect()
->beforeFormFilled(function () {
$this->data['employee_id'] = request('employee_id');
$this->data['project_id'] = request('project_id');
$this->data['date'] = request('date');
$this->data['imputation_type'] = request('imputation_type');
})
->action('createAnother')
->keyBindings(['mod+shift+s'])
->color('secondary');
}
11 replies
FFilament
Created by magarrent on 3/28/2023 in #❓┊help
Toggle sections in filament forms
Hey there! Is it possible to show/hide sections dynamically according to a toggle/checkbox button? Like, if I check "Company" it appears the card company to fill. Thanks!
8 replies