Infolist Custom Entry
I need to add a update password form in infolist custom entry. But Infolist is not supporting the POST method. How can i get the input value data.
2 Replies
<x-filament-panels::page>
<div x-data="{ tab: 'tab1' }" >
<div x-data="{ activeTab: 'tab1' }" class="settings-resource">
<x-filament::tabs label="Content tabs">
<x-filament::tabs.item @click="activeTab = 'tab1'" :alpine-active="'activeTab === 'tab1''">
Clinic Management
</x-filament::tabs.item>
<x-filament::tabs.item @click="activeTab = 'tab2'" :alpine-active="'activeTab === 'tab2''">
User Management
</x-filament::tabs.item>
<x-filament::tabs.item @click="activeTab = 'tab3'" :alpine-active="'activeTab === 'tab3''">
Sales Rep Managements
</x-filament::tabs.item>
</x-filament::tabs>
<div>
<div x-show="activeTab === 'tab1'">
@livewire(\App\Filament\Pharmacy\Resources\PharmClinicResource\Pages\ListPharmClinics::class)
</div>
<div x-show="activeTab === 'tab2'">
@livewire(\App\Filament\Pharmacy\Resources\PharmClinicResource\Pages\ListPharmClinics::class)
</div>
</div>
</div>
</x-filament-panels::page>
<?php
namespace App\Infolists\Components;
use Filament\Infolists\Components\Entry;
use Illuminate\Http\Request;
use Illuminate\Contracts\View\View;
class PasswordReset extends Entry
{
protected string $view = 'infolists.components.password-reset';
}
}
You are in a Livewire context. Infolists aren’t controllers.