F
Filamentβ€’12mo ago
BKF Dev

RelationManager translation for BelongsToMany relationship

Let's say I have belongsToMany relationship with pivot fields having translatable option, Is there a way to manage the translation the same as Create / Edit resource ? (I'm using filament spaties translation Thanks
7 Replies
BKF Dev
BKF DevOPβ€’12mo ago
.
Lara Zeus
Lara Zeusβ€’12mo ago
BKF Dev
BKF DevOPβ€’12mo ago
Thanks @Lara Zeus , but this works only for table, I want to use it on EditAction modal to translate some pivot fields
BKF Dev
BKF DevOPβ€’12mo ago
This modal on EditAction
No description
BKF Dev
BKF DevOPβ€’12mo ago
@Lara Zeus ? any help ?
Lara Zeus
Lara Zeusβ€’12mo ago
I dont have a relation manager to test RN πŸ™‚ should the form inherit the locale from the table? did you test that not sure who the Translatable will work with relations
awcodes
awcodesβ€’12mo ago
Spatie, doesn't pull translations for relationships. It only translates them when the property is called on the model itself.
Want results from more Discord servers?
Add your server