how to customize save button

how to change the label or disable it conditionally
Solution:
```php //editPage.php protected function getSaveFormAction(): Action { return parent::getSaveFormAction()...
Jump to solution
1 Reply
Solution
LeandroFerreira
LeandroFerreira14mo ago
//editPage.php
protected function getSaveFormAction(): Action
{
return parent::getSaveFormAction()
->label('Save')
->disabled(...);
}
//editPage.php
protected function getSaveFormAction(): Action
{
return parent::getSaveFormAction()
->label('Save')
->disabled(...);
}