kazi94
Modal hidden when i open another nested modal
I have this piece of code inside my modal, which open a modal
->suffixAction(
Action::make('Détails')
->modalSubmitAction(false)
->color('primary')
->icon('heroicon-o-information-circle')
->modalAlignment(Alignment::Center)
->modalWidth(MaxWidth::Small)
->modalContent(
fn(Get $get, RelationManager $livewire): View => view(
'filament.pages.actions.preconisation-farm-details',
[
'farm' => Farm::with('unit')
->where('culture_id', $get('culture_id'))
->where('farmer_id', $livewire->getOwnerRecord()['id'])
->first()
],
)
)
),
The expected results is when i open the nested modal it hide the first modal which reopen after i close the second modal
Is there any ways to avoid this behavior?
Thanks to you Sir
5 replies