Closed kemdo25 closed 3 weeks ago
@kemdo25 Have you tried removing your property's companies
property, renaming the computed property to companies()
(to replace the removed property) and returning the paginated collection directly from the computed property's method?:
#[Computed]
public function companies()
{
$query = OilCompany::query();
if ($this->sortBy) {
$query->orderBy($this->sortBy, $this->sortDirection);
}
return $query->paginate(5);
}
Thanks @jeffchown, that's the right answer, closing this.
You're welcome, @calebporzio
thanks so much its working
Hi there! 👋
flux table pagination issue: if i remove pagination and loading data normally it working i got message livewire component not supported, i tried either way to fix out but not working Property type not supported in Livewire for property: [{"current_page":1,"data":[{"id":1,"tax_identification_number":"135202665","certificate_number":"167610021","company_name":"King Charcoal Africa if it concern: among fields i have json which hold very large object
my livewire property:
flux table component:
my livewire component called within laravel view: