Bonux
Bonux
FFilament
Created by vanhellsing101 on 4/4/2024 in #❓┊help
Import Action: Import data for the belongsTo relationship without having foreign_id in CSV itself?
@vanhellsing101 can you show me an example of how you did this?
6 replies
FFilament
Created by Bonux on 4/8/2024 in #❓┊help
Using Import action in Wizard and creating import action records for a relational record
If that is not possible, perhaps we can add a headerAction to the edit page and show the improt there ? 🤔
3 replies
FFilament
Created by Cheesus Krays on 4/6/2024 in #❓┊help
Error Filament has not been installed yet: php artisan filament:install --panels
88 replies
FFilament
Created by Cheesus Krays on 4/6/2024 in #❓┊help
Error Filament has not been installed yet: php artisan filament:install --panels
Seems like you have some missing extension in your ini file. - openspout/openspout v4.23.0 requires ext-zip * -> it is missing from your system. Install or enable PHP's zip extension. And some issues with composer itself. Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. Fix those and everything should work
88 replies
FFilament
Created by Cheesus Krays on 4/6/2024 in #❓┊help
Error Filament has not been installed yet: php artisan filament:install --panels
Start by installing fresh laravel 11 and then installing the filament package.
88 replies
FFilament
Created by Cheesus Krays on 4/6/2024 in #❓┊help
Error Filament has not been installed yet: php artisan filament:install --panels
No description
88 replies
FFilament
Created by Positiverain on 3/26/2024 in #❓┊help
Advanced toggle column to a table
4 replies
FFilament
Created by JJSanders on 2/19/2024 in #❓┊help
Value of field ins null
or however you name your relation
28 replies
FFilament
Created by JJSanders on 2/19/2024 in #❓┊help
Value of field ins null
orderItem.user.name ?
28 replies
FFilament
Created by matin rajabi on 2/19/2024 in #❓┊help
change name of table in pages and navigation menu displaying
No description
11 replies
FFilament
Created by matin rajabi on 2/19/2024 in #❓┊help
change name of table in pages and navigation menu displaying
No description
11 replies
FFilament
Created by matin rajabi on 2/19/2024 in #❓┊help
change name of table in pages and navigation menu displaying
11 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
oh yea
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
Then you can try to work with that query and do stuff
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
if you add that and add a use ExposesTableToWidgets; trait to the resource table you should get the same query executed passed to the widget
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
For the widget
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
There is an InteractsWithPageTable trait which you can use
12 replies
FFilament
Created by jwktje on 8/9/2023 in #❓┊help
Hide a resource widget based on the resource status
class FooWidget extends BaseWidget {
use InteractsWithPageTable;

protected function canView(): bool
{
return $this->getPageTableQuery()->where('status', '=', StatusEnum::Request;)->exists();
}
}
class FooWidget extends BaseWidget {
use InteractsWithPageTable;

protected function canView(): bool
{
return $this->getPageTableQuery()->where('status', '=', StatusEnum::Request;)->exists();
}
}
Could this work ?
12 replies
FFilament
Created by gigiloouu on 2/19/2024 in #❓┊help
required
or perhaps you need to add a callback function to the requiredIf(fn(Get $get) => $get['Status'] === 2 or something along those lines.
6 replies
FFilament
Created by gigiloouu on 2/19/2024 in #❓┊help
required
If I remember correctly you need to add ->live() to the component
6 replies