Declarative Action: Confirmation Required

Marskh11
Kilo Sage

Hi Community - is anyone aware of where we can control the pop-up when using 'Confirmation Required' checkbox in Declarative Action? It seems that the now-modal-footer-buttons default to the cancel button the left being set to the themes secondary color and the button the right to 'move forward' is set to 'primary-negative' which is red in the theme.

 

Having negative be red makes sense but we'd like these to be switched in the pop-up so that the 'cancel' is red and the 'move forward' isn't but I can't seem to see a way to control this unless we do custom modals for each declarative action. Seems like overkill since we have 15 actions using confirmation required. and these are used across various UI Builder pages. To create a model on each page and tie it seems like a lot and I'm thinking there is a simpler way out there I just don't know about!

 

Thanks!

 

1 ACCEPTED SOLUTION

Marskh11
Kilo Sage

Discussed with SN and there is no way to control this out of the box without going custom modals. 

View solution in original post

4 REPLIES 4

Sorry this doesn't answer my question. That's on how to create modals which we already know how to do  and have created them to control this. My quesion is related to the out of the box 'Confirmation required?' feature on Declarative Actions. When you use that there seems to be very minimal control over the UI / button coloring within it seems to default to 'cancel' as the primary theme color and the button gets set to primary -negatie which is red in our instance. I was hoping for an easy setting to control the colors within the OOTB confirmation pop-up rather than having to build custom modals for all by buttons as that seems like overkill. 

Ankur Bawiskar
Tera Patron

@Marskh11 

screenshots please

Marskh11
Kilo Sage

Discussed with SN and there is no way to control this out of the box without going custom modals.