F
Filament16mo ago
sysoft.

Toggle Input How do I add a required confirmation before executing the operation?

‏Do you have an idea of how I can add this feature
Toggle::make('is_admin')
->requiresConfirmation()
Toggle::make('is_admin')
->requiresConfirmation()
1 Reply
awcodes
awcodes16mo ago
requiresConfimation() only works on Actions you could modify the Create/Edit actions to use it if 'is_admin' is in the data, but you can't do it at the field level.
Want results from more Discord servers?
Add your server