Can Form Actions appear dynamically?

Hello, I have a custom action that I have added to an edit resource page, using getFormActions() method. I'm wondering if there's a way to have this action hidden by default and only visible if certain toggle fields have been set to true? Thanks
1 Reply
BKF Dev
BKF Dev9mo ago
use : ->visible(fn() => conditions)
Want results from more Discord servers?
Add your server