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
TOOLBAR_PRIMARY style highlights the first button and there is no built-in way to specify which individual action should be styled as primary.
TOOLBAR_PRIMARY