F
Filament5mo ago
tuseto

Changing language in ListItem does not translate the related records.

I have a translatable resource with EditResource page. I have some relations to this resource, also translatable. But when I am on the edit page of the resource and change language, the related resources stays listed in english. This is my relation in the form schema:
FieldSet::make('Tags')
->schema([
CheckboxList::make('tags')
->relationship(
titleAttribute: 'name',
)
->columns(5),
])
FieldSet::make('Tags')
->schema([
CheckboxList::make('tags')
->relationship(
titleAttribute: 'name',
)
->columns(5),
])
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server