Rihards Repels FirstFirst you can use this block use in our UI components xml FilesUI components xml Files.
<item name="buttons" xsi:type="array">
<item name="back" xsi:type="string">vendor\ProductComments\Block\Adminhtml\Index\Edit\Button\Back</item>
<item name="delete" xsi:type="string">vendor\ProductComments\Block\Adminhtml\Index\Edit\Button\Delete</item>
<item name="reset" xsi:type="string">vendor\ProductComments\Block\Adminhtml\Index\Edit\Button\Reset</item>
<item name="save" xsi:type="string">vendor\ProductComments\Block\Adminhtml\Index\Edit\Button\Save</item>
<item name="save_and_continue" xsi:type="string">vendor\ProductComments\Block\Adminhtml\Index\Edit\Button\SaveAndContinue</item>
</item>
thenThen you can open save and continue block open and can you use this code
public function getButtonData() {
return [
'label' => __('Save and Continue Edit'),
'class' => 'save',
'data_attribute' => [
'mage-init' => [
'button' => ['event' => 'saveAndContinueEdit'],
],
],
'sort_order' => 80,
];
weWe also phasefaced this issue also, This code working you can use nowit.