Issue while using the package in a Livewire component #27
stefanrubelov
started this conversation in
General
Replies: 1 comment 1 reply
-
Can you share your Livewire component and Livewire blade file. My guess is that there is a property (usually the $chart or $chartData) that needs to either be declared as computed using an attribute or to be declared in the front matter as a public property. And/or there is a missing wire:ignore in the blade file. |
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.
-
I have a chart in a Livewire component, and its loading just fine, as expected, when opening the page. But when I'm filtering data in another part of the page, I get this error
Livewire\Exceptions\PropertyNotFoundException Property [$] not found on component: [expenses.product.view-product]
The data I'm filtering and the data that I use to fill up the chart are two separate Eloquent queries, independent of another. And when I remove the chart component from the blade, no exceptions happen. I tried to go with the provided way in the documentation, I tried wire:ignore, wire:ignore.self, but it didn't help. Has anyone has this exception occur to them, and how did you manage to fix it?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions