how to customize save button

how to change the label or disable it conditionally
image.png
Solution
//editPage.php
protected function getSaveFormAction(): Action
{
    return parent::getSaveFormAction()
        ->label('Save')
        ->disabled(...);
}
Was this page helpful?