Hide header actions on edit page
Hello!
I'm looking to customize the "delete" button on the edit page, to only show conditionally on my records.
Is there a way to achieve this? Thanks!
Solution:Jump to solution
Solved! I wanted to disable the delete button if the current user editing is the same as the user in the model.
So in EditUser.php:
```php...
2 Replies
Solution
Solved! I wanted to disable the delete button if the current user editing is the same as the user in the model.
So in EditUser.php:
when you say disable, you still want to display the button but disabled?