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
//editPage.php
protected function getSaveFormAction(): Action
{
return parent::getSaveFormAction()
->label('Save')
->disabled(...);
}
//editPage.php
protected function getSaveFormAction(): Action
{
return parent::getSaveFormAction()
->label('Save')
->disabled(...);
}

Did you find this page helpful?