1
0
forked from poc/pds

Added dispatch in line in target page

This commit is contained in:
dhanabalan
2026-10-12 15:17:36 +05:30
parent 0c6b5ef257
commit d8cccfe6d9

View File

@@ -137,7 +137,10 @@ class ProductionTarget extends Page
->pluck('name', 'id')
->toArray();
})
->reactive(),
->reactive()
->afterStateUpdated(function ($state, callable $get, $set) {
$this->dispatch('loadData',$state, '', '', '', '');
}),
// ->afterStateUpdated(function ($state, callable $get, $set) {
// $plantId = $get('plant_id');
// $lineId = $state;