a!recordActionField( actions: { a!recordActionItem( action: 'action_1', identifier: ri!identifier ), a!recordActionItem( action: 'action_2', identifier: ri!identifier ), /* this last one should be the primary */ a!recordActionItem( action: 'action_3', identifier: ri!identifier ) }, style: "TOOLBAR_PRIMARY", display: "LABEL_AND_ICON", align: "END" )
I have the following code above with the following style "TOOLBAR_PRIMARY". I would like to be able to set which action is the primary one.
I haven't seen such option. It always applies the style to the first one one the left. What if I want the one on the middle to be the primary action? Or the last one on the right to be the primary?
I appreciate any hints on this since then.
Discussion posts and replies are publicly visible
When looking at this from a UX perspective, I think it makes a lot of sense to make the top most stand out.
And, when it is really important to you to make it look different, you can just put each action into a separate actionField() and style them the way you want.