Fields not translatable not saving
The problem is with using v3 with spatie-laravel-translatable-plugin
I have a model with translatable and no translatable fields. When I save only the translatable fields are saved/updated.
For example MyModel has title, name, order fields and only title is translatable, when save only title is updated
2 Replies
Are your not translatable fields added to the
protected $fillable
array in your model?Yes. Are in fillable, with V2 works. But after upgrade to v3 not. the dump data on beforeSave hook has an array with all locales and all fields of the model in each locale (translatable and not)
problem detected, was the laravel/framework version after upgrade from v2 to v3