79389999

Date: 2025-01-27 07:38:12
Score: 1
Natty:
Report link

I am experiencing the same problem. When ID column name is not specified, Nova passes PendingTranslation class instance instead of column name into $only argument of ExportToExcel::replaceFieldValuesWhenOnResource https://github.com/SpartnerNL/Laravel-Nova-Excel/blob/1.3/src/Actions/ExportToExcel.php#L220.

Temporary fix is to pass name of id column when defining id field - ID::make('ID').

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Josef