infolist how RepeatableEntry relationship how can edit each entry ...
How i get current entry in mountUsing?
RepeatableEntry::make('families')
->schema([
TextEntry::make('first_name')
->hintActions([
Action::make('editFamilyEntry')
->hiddenLabel()
->icon('heroicon-m-pencil-square')
->iconButton()
->mountUsing(
function ($livewire, $form, $record) {
dd($livewire);
}
)
->slideOver()
->form([TextInput::make('first_name')])
])->columnSpan(2),
TextEntry::make('last_name')
->columnSpan(2),
])
->columns(2),
]),
families is belongsToMany relations... i wanna make action where form can edit full family person details0 Replies