Add a new action() method on FieldTrait
Alternative (more generic) for #4920
Mini comment: in https://github.com/EasyCorp/EasyAdminBundle/pull/4920#issuecomment-1000479581 suggested the method name rowAction() for clicking a row but in this implementation the user clicks a field (not a row). So the method name rowAction() is a little confusing IMHO, maybe it should be something like action() or linkAction().
But anyways, I hope it gets merged soon.
I agree with @michaelKaefer, row sounds like we can click anywhere on any column of the row
Wow, this is a nice feature. Two ideas:
Maybe add an optional $icon argument to action()? Maybe alternatively allow to pass an Action instance as first argument?