Customize create label for Resource with ManageRecords

In normal resource with it's own create page, we can have getCreateFormAction method to customize the label of the create button, for example:
protected function getCreateFormAction(): Action
{
return Action::make('create')
->label('Add Customer')
->icon('heroicon-o-user')
->submit('create')
->keyBindings(['mod+s']);
}
protected function getCreateFormAction(): Action
{
return Action::make('create')
->label('Add Customer')
->icon('heroicon-o-user')
->submit('create')
->keyBindings(['mod+s']);
}
This method doesn't work for simple resource which extending ManageRecord without it's own create page. How do we customize the label in simple resource?
0 Replies
No replies yetBe the first to reply to this messageJoin