Replies: 1 comment
-
Are you by any chance using filament with spatie-laravel-translatable-plugin? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Probably a bug, since when using this package together with laravel-sluggable, and model has Slug field generated from the translatable field, slug is being translated to the last translated attribute:
Let's say field has been created without translation with field_name = 'generation' and auto-generated slug of 'generation';
Then
will change entry's slug to 'some-translation';
I guess that the only solution is to prevent slugs from regenerating on update;
Beta Was this translation helpful? Give feedback.
All reactions