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
awcodes2y 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.

Did you find this page helpful?