Show Warning in a toggle
I have a list of "resource" (random data), in the form I have:
i want to show a warning modal to the user when i deactivate it.
i want to show a warning modal to the user when i deactivate it.
Toggle::make('active')
->onColor('success')
->offColor('danger')
->helperText('')
->rule('boolean')
->default(true)
->accepted(),