Forms\Components\Checkbox::make('checked')
->label('Checked')
->reactive()
->afterStateUpdated(fn ($state, callable $set) => $state === true ? $set('checked_by', auth()->user()->name) : $set('checked_by', null))
->afterStateUpdated(fn ($state, callable $set) => $state === true ? $set('checked_time', now()->toDateTimeString()) : $set('checked_time', null)),
Forms\Components\Checkbox::make('checked')
->label('Checked')
->reactive()
->afterStateUpdated(fn ($state, callable $set) => $state === true ? $set('checked_by', auth()->user()->name) : $set('checked_by', null))
->afterStateUpdated(fn ($state, callable $set) => $state === true ? $set('checked_time', now()->toDateTimeString()) : $set('checked_time', null)),