-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
Description
Volt Version
1.6.6
Laravel Version
11.36.1
PHP Version
8.3.13
Database Driver & Version
No response
Description
The updated or updating method only trigger the first time. The reactive property is bieng updated correctly
#[Reactive] public int $projectId;
`public function updatedProjectId(): void
{
dd($this->projectId);
$this->LoadData();
// this function dont fire anytime
}
public function updated(): void
{
$this->LoadData();
//This fucntion only fire the firstime. Only work again when the page is reloaded
}`.
On the parent
<livewire:charts.projects.chart :projectId="$projectId" />
Steps To Reproduce
create a parent child component. the make a property reactive in the child and have some values updated base in theproperty. I have a charsjs coponent in the child.