Replies: 1 comment 1 reply
-
|
Not sure to understand the usage for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Livewire PowerGrid version
v6.6.4
Livewire version
v3.6
Laravel version
v12
Which PHP version are you using?
PHP 8.3
Which Theme are you using?
Tailwind
Have you published the resource files and customized them? (php artisan vendor:publish)
No
What is the problem?
The recent PR #2011 made some changes to how we get total number of items. After updating the repository I was getting error:
Undefined property: App\Livewire\Tables\QuoteItems::$totalSo I changed it to method call => $this->total()
But after that I was getting error:
Undefined property: App\Livewire\Tables\QuoteItems::$recordsIf I change it to
$this->records()->count()it takes ages and then reaches memory limit.Code snippets
How do you expect it to work?
A simplest way to get total count of items
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions