© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•13mo ago•
5 replies
mathieutu

Simple repeater and $get

Hi,
When using
$get
$get
on a simple repeater, the state shown is not the simple array of value shown in the doc, but the internal representation of the repeater.

Repeater::make('invitations')
    ->simple(
        TextInput::make('email')
            ->email()
            ->required(),
    )
Placeholder::make('foo')->content(fn (Get $get) => dump($get('invitations'))
Repeater::make('invitations')
    ->simple(
        TextInput::make('email')
            ->email()
            ->required(),
    )
Placeholder::make('foo')->content(fn (Get $get) => dump($get('invitations'))


returns
"invitations" => array:2 [
    "cc35096d-4cfc-4207-bbc5-05b70db95fee" => array:1 [
      "email" => array:1 [
        "email" => null
      ]
    ]
    "e44bad27-018c-4ef2-af1e-2edd2947687b" => array:1 [
      "email" => null
    ]
  ]
"invitations" => array:2 [
    "cc35096d-4cfc-4207-bbc5-05b70db95fee" => array:1 [
      "email" => array:1 [
        "email" => null
      ]
    ]
    "e44bad27-018c-4ef2-af1e-2edd2947687b" => array:1 [
      "email" => null
    ]
  ]


Is this a known behavior? An issue?

Thanks.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

repeater simple vs schema
FilamentFFilament / ❓┊help
2y ago
Field Repeater, $get and $set
FilamentFFilament / ❓┊help
3y ago
formatStateUsing on simple repeater component
FilamentFFilament / ❓┊help
2y ago
Simple Repeater for Filament v2
FilamentFFilament / ❓┊help
3y ago