i try to add my custom button to the form, not to the header of form, but after some fields inside fieldset, i found some example here https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/ui-button.html like this
<form>
...
<fieldset>
...
<button name="custom_button">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="buttonClasses" xsi:type="string">custom-button-class</item>
<item name="actions" xsi:type="array">
<item name="0" xsi:type="array">
<item name="targetName" xsi:type="string">TARGET_NAME</item>
<item name="actionName" xsi:type="string">ACTION_NAME</item>
</item>
</item>
</item>
</argument>
<settings>
<displayAsLink>false</displayAsLink>
<title translate="true">Custom Button</title>
</settings>
</button>
</fieldset>
</form>
but in this code i cant chose my own controller actin, just chose between some of predefined. Actualy i need to add two buttons, which will send form data(sumbit form) to different actions. It must work like ‘save’ action, if i chose
<item name="actionName" xsi:type="string">save</item>
Anyone know, hot to do it? May be i can define my own action and set it here? Thak you a lot.