Closed daniouyea closed 2 years ago
Value returned by displayUsing from a datetime field is not displayed on index.
Create a resource with a datetime field.
DateTime::make('Date') ->onlyOnIndex() ->displayUsing(fn ($value) => "test"),
The field is shown empty.
Duplicate of https://github.com/laravel/nova-issues/issues/4665, has been fixed but pending next release.
Description:
Value returned by displayUsing from a datetime field is not displayed on index.
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a resource with a datetime field.
The field is shown empty.