black_gallardo
adding trait Translatable will make all fields Translatable
@Dan Harrin using this PR code solved the problem (https://github.com/filamentphp/filament/pull/7503) but the one in the repo now is not, because setting "$nonTranslatableData" out of foreach loop causing bugs when using media library (https://github.com/filamentphp/spatie-laravel-translatable-plugin/blob/3.x/src/Resources/Pages/EditRecord/Concerns/Translatable.php#L43)
79 replies
adding trait Translatable will make all fields Translatable
for me the PR posted did not fix the issue, but this fix work: https://github.com/filamentphp/filament/issues/7156#issuecomment-1663512999
with a small issue that when save and switch the locale from the dropdown the old result will fill the form again but acceptable for me
79 replies
adding trait Translatable will make all fields Translatable
Hello, i am facing the same issue @larazeus mentioned.
I have 2 locales (en, ar) and when update a form that contains non translatable field (toggle in my case) it will change again back to basic stats and i noticed in the request it goes twice: data.en.is_published = true , then data.ar.is_published = false which is the previous value
79 replies