Skip to content

[Bug]: Error using Spatie\Translatable #99

@GordeevPro

Description

@GordeevPro

What happened?

Hello, I am using Translatable, when editing with the widget, an error occurs:

Method SolutionForest\FilamentTree\Actions\EditAction::getMutateFormDataBeforeSave does not exist.

if in the file /src/Concern/TreeRecords/Translatable.php in the afterConfiguredEditAction method, comment out line 80:

//$data = $action->evaluate($action->getMutateFormDataBeforeSave(), ['data' => $data]);

error passes, it seems to me that getMutateFormDataBeforeSave is superfluous in this case.

How to reproduce the bug

Turn on `Translatable' and edit the entry from widget

Package Version

3.1.3

PHP Version

^8.2

Laravel Version

12

Which operating systems does with happen with?

macOS

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions