Closed DawidMazur closed 9 months ago
Tables\Columns\TextColumn::make('cost') ->sortable() ->placeholder(__('Brak')) ->currency('PLN'),
currency macro not work with null value, I'm getting fatal error with null. I want to show placeholder if value is null.
Create TextColumn with null value and add ->currency()
3.1
8.2
10.34.2
No response
@DawidMazur I've tested your example and it works fine for me. Please create a minimum repo that reproduces this issue so I can check it.
What happened?
currency macro not work with null value, I'm getting fatal error with null. I want to show placeholder if value is null.
How to reproduce the bug
Create TextColumn with null value and add ->currency()
Package Version
3.1
PHP Version
8.2
Laravel Version
10.34.2
Which operating systems does with happen with?
No response
Notes
No response