Issue with relationmanager on complicated relation (bug?)
Custom Modal form closes as soon as I click on it.
How to import Alpine in custom script
resources/js/filament/app.js
.
```
FilamentAsset::register([
Js::make('custom-script', resource_path('/js/filament/admin/app.js')),...Possible to manually bundle Filament's JavaScript assets instead of relying on @filamentScripts ?
getTabs() and limiting CreateAction options
Modify size on modal view of resource
ViewAction
, like
```php
Tables\Actions\ViewAction::make()
->modalWidth(MaxWidth::SevenExtraLarge)...Table filter dropdown closes when custom filter (flatpickr) is active
Call Model on afterValidate
Bulk actions which is only visible when 2 rows are selected
->visible(fn ($livewire) => $livewire->selectedTableRecords == 2)
But this livewire array always seems to be empty no matter how many rows are selected?...Add a Create and edit button
Struggling with SelectFilter with relationship() and distinct status (Enum)
abacus_status
in my users
table but this status is in another table user_details
, linked to the users via the details()
relationship. What is wrong in my code ?
ERROR : Object of class App\Enums\Users\AbacusStatusEnum could not be converted to string
```php...Add Action to Select modal create and update
getFormSchema
, like:
```php
use Filament\Forms\Components\Actions;
...Register colors
Advanced Tables Filter Not Adding Filter
->includeColumns()
method on your filter.
So to break it down:...livewire with table inside form: now the form is not saving
Image Postprocessing
Header Action filter not applying to Table Widget
Adding a record count alongside a navigation link
I can see it's related to the number of "new" orders - just need to understand how the number gets put there. I have had a look at the source code on github and see the navigation title definition here...
public static function getNavigationBadge(): ?string
{
return 420;
}
public static function getNavigationBadge(): ?string
{
return 420;
}