Евгений Кривых
Евгений Кривых
FFilament
Created by Евгений Кривых on 2/21/2025 in #❓┊help
session message
I need to throw some exception that will be handled in the admin panel and on the site. I juas want to redirect back with session message, like that: $exceptions->render(function (ExternalServiceException $e) { return back()->with([ 'error' => 'error...', 'status' => $e->getMessage(), ]); }); but filament didn't show any message! how can I solve it?
2 replies
FFilament
Created by Евгений Кривых on 2/9/2024 in #❓┊help
Table SelectColumn with relation field
When we use SelectColumn::make('relationName.field') we got Array to string conversion in case of no choice of field, because $getState() in vendor/filament/tables/resources/views/columns/select-column.blade.php returns the array of null element (not just null). If we don't use relation - it works fine. How to solve that problem? The same thing happend with TextInputColumn
2 replies