Sens420
Sens420
FFilament
Created by Sens420 on 5/23/2024 in #❓┊help
...\Tables\Columns\Concerns\{closure}(): Return value must be of type ?string, Money\Money return
I made a product model with a price that has been cast by Money Money package. In the front all works fine. I now want a adminpanel but when i created the resource with the --generate option. It created the form but got following error: Filament\Tables\Columns\TextColumn::Filament\Tables\Columns\Concerns{closure}(): Return value must be of type ?string, Money\Money returned I use the Money php package and it returns a money object. How can i show it in the filament table? Thanks in advance!
7 replies