TranslatableContainer in Repeater
I have an issue I cant seem to resolve. So I want to create an repeater for recipes steps and each step should be translated. Here for I use
"mvenghaus/filament-plugin-translatable-inline": "3.0"
. But I get this error Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization
With this code below. When I remove the TranslatableContainer then it works. Hope somebody can help me
Solution:Jump to solution
Fixed it. Composer did not installed the lates updated version for the package
mvenghaus/filament-plugin-translatable-inline": "3.0"
when I used composer require mvenghaus/filament-plugin-translatable-inline:"^3.0"
it just installed version 3.02 Replies
So i tried to debug it like this
So i used dd() and I get the right value that I was expecting. But still I get this error =>
Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization
Solution
Fixed it. Composer did not installed the lates updated version for the package
mvenghaus/filament-plugin-translatable-inline": "3.0"
when I used composer require mvenghaus/filament-plugin-translatable-inline:"^3.0"
it just installed version 3.0