© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
GizaRex

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"
"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
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

Section::make('Receptstappen')
  ->schema([
    Repeater::make('recipes_steps')
      ->label('')
      ->relationship('steps')
      ->schema([
        TranslatableContainer::make(
          TextInput::make('description')
            ->label('Beschrijving')
            ->required(),
            ),
        ]),
  ])
Section::make('Receptstappen')
  ->schema([
    Repeater::make('recipes_steps')
      ->label('')
      ->relationship('steps')
      ->schema([
        TranslatableContainer::make(
          TextInput::make('description')
            ->label('Beschrijving')
            ->required(),
            ),
        ]),
  ])
Solution
Fixed it. Composer did not installed the lates updated version for the package
mvenghaus/filament-plugin-translatable-inline": "3.0"
mvenghaus/filament-plugin-translatable-inline": "3.0"
when I used
composer require mvenghaus/filament-plugin-translatable-inline:"^3.0"
composer require mvenghaus/filament-plugin-translatable-inline:"^3.0"
it just installed version 3.0
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Repeater in repeater eager load
FilamentFFilament / ❓┊help
3y ago
Select in repeater
FilamentFFilament / ❓┊help
2y ago
Title in repeater
FilamentFFilament / ❓┊help
3y ago
Repeater Inside Repeater
FilamentFFilament / ❓┊help
7mo ago