public function form(Form $form): Form
{
return $form->schema([
Toggle::make('showUnmatched')
->label('Show')
->onColor('primary')
->offColor('gray')
->afterStateUpdated(function (?string $state, ?string $old) {
Log::debug($state);
Log::debug($old);
})
]);
}
public function form(Form $form): Form
{
return $form->schema([
Toggle::make('showUnmatched')
->label('Show')
->onColor('primary')
->offColor('gray')
->afterStateUpdated(function (?string $state, ?string $old) {
Log::debug($state);
Log::debug($old);
})
]);
}