black_gallardo
black_gallardo
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
adding trait Translatable will make all fields Translatable
79 replies
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
adding trait Translatable will make all fields Translatable
Error: Call to a member function hasGeneratedConversion() on null
79 replies
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
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
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
adding trait Translatable will make all fields Translatable
works perfectly for me 👍🏽
79 replies
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
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
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
adding trait Translatable will make all fields Translatable
79 replies
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
adding trait Translatable will make all fields Translatable
79 replies
FFilament
Created by Lara Zeus on 7/25/2023 in #❓┊help
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