How do I add requiresConfirmation to ToggleColumn and SelectColumn in Table?

Is there a way to add requiresConfirmation modal in these columns?
Tables\Columns\ToggleColumn::make('status'),
Tables\Columns\SelectColumn::make('category_id')
Tables\Columns\ToggleColumn::make('status'),
Tables\Columns\SelectColumn::make('category_id')
5 Replies
Sandeep
Sandeep16mo ago
Hey @Dan Harrin Hope you are doing well! Do you have any idea on this thing, I also stuck for this
Dennis Koch
Dennis Koch16mo ago
I don't think it's supported and would require a PR
Sandeep
Sandeep16mo ago
Okay, Thanks for your reply. 🙂 Who will do PR, need to do me, actually I have no idea, so I am asking?
Dennis Koch
Dennis Koch16mo ago
Whoever has a need for it. If you cannot do it, you probably need to wait until someone thinks it's worth to provide a PR.
Sandeep
Sandeep16mo ago
Oh, Okay. Thanks for your reply.

Did you find this page helpful?