Simple repeater and $get

Hi,
When using $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'))


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


Is this a known behavior? An issue?

Thanks.
Was this page helpful?