Checkboxlist's checkbox checked or not

CustomCheckboxList::make('task_lists') ->relationship('task_lists', 'title', modifyQueryUsing: function (Builder $query, string $operation) use ($stage) { $query->where('stage_id', $stage->id)->orderBy('id', 'asc'); }) ->afterStateHydrated(function ($state, $component, ?EmployeeOffboarding $record) use ($stage) { if (!$record) return; $component->state($record->task_lists->pluck('id')->toArray()); })->afterStateUpdated(function($component){ }),
how i can get the particular checkbox's(in which one i have recently performed action) status that checked or not
CustomCheckboxList extends from CheckBoxList
Was this page helpful?