𝑨 𝑡 𝑫 𝑬 𝑹
𝑨 𝑡 𝑫 𝑬 𝑹
FFilament
Created by 𝑨 𝑡 𝑫 𝑬 𝑹 on 11/17/2023 in #β“β”Šhelp
Show Warning in a toggle
I have a list of "resource" (random data), in the form I have:
Toggle::make('active')
->onColor('success')
->offColor('danger')
->helperText('')
->rule('boolean')
->default(true)
->accepted(),
Toggle::make('active')
->onColor('success')
->offColor('danger')
->helperText('')
->rule('boolean')
->default(true)
->accepted(),
i want to show a warning modal to the user when i deactivate it.
2 replies