How to switch/invert toggle in Filament

Basically what I want to do is, whenever a toggle is true, the other has to be false. I couldn't find my latest code so I only have this code to show:
Toggle::make('pergunta'),
Toggle::make('requisito'),
Toggle::make('pergunta'),
Toggle::make('requisito'),
4 Replies
Want results from more Discord servers?
Add your server