You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, whenever the tag is saved, name and slug are saved as null.
I've tested in a fresh Laravel ^10.15 install with spatie/laravel-tags ^4.5, spatie/laravel-translatable ^6.5 and backpack/crud ^6.2.
Creating a simple model and crud controller works fine, but the Tag is always setting name and slug (translatable fields) to null.
This happens regardless of overriding the HasTranslations trait for the CRUD controller or not. I created a discussion on the backpack repo but after testing with a fresh install and example model with translatable fields and having success, I'm wondering if the issue lies here?
This discussion was converted from issue #482 on October 09, 2023 07:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to set up a Laravel Backpack CRUD controller so the site's user can manage tags from the backpack admin panel.
However, whenever the tag is saved,
name
andslug
are saved asnull
.I've tested in a fresh
Laravel ^10.15
install withspatie/laravel-tags ^4.5
,spatie/laravel-translatable ^6.5
andbackpack/crud ^6.2
.Creating a simple model and crud controller works fine, but the
Tag
is always settingname
andslug
(translatable fields) tonull
.This happens regardless of overriding the
HasTranslations
trait for the CRUD controller or not. I created a discussion on the backpack repo but after testing with a fresh install and example model with translatable fields and having success, I'm wondering if the issue lies here?Beta Was this translation helpful? Give feedback.
All reactions