Repeater with relationship not available on Replicate after hook

I have a form with repeater field which have relationship, But I tried to clone or replicate with filament replication action that repeater data is not available on replicate action after hook data.
Forms\Components\Repeater::make('player_level')
->key('player_level')
->deletable(false)
->addable(false)
->reorderable(false)
->schema([
Forms\Components\Select::make('level')
->options([
1 => 'One',
2 => 'Two',
3 => 'Three',
])
->disableOptionsWhenSelectedInSiblingRepeaterItems(),
Forms\Components\TextInput::make('name')
->required()
->prefixIcon('heroicon-o-currency-dollar'),
])
->columns(2);
Forms\Components\Repeater::make('player_level')
->key('player_level')
->deletable(false)
->addable(false)
->reorderable(false)
->schema([
Forms\Components\Select::make('level')
->options([
1 => 'One',
2 => 'Two',
3 => 'Three',
])
->disableOptionsWhenSelectedInSiblingRepeaterItems(),
Forms\Components\TextInput::make('name')
->required()
->prefixIcon('heroicon-o-currency-dollar'),
])
->columns(2);
Here is my action
Tables\Actions\ReplicateAction::make()
->label('')
->after(fn($data) => dd($data))
->tooltip('Clone'),
Tables\Actions\ReplicateAction::make()
->label('')
->after(fn($data) => dd($data))
->tooltip('Clone'),
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server