Laravel-Backpack / medialibrary-uploaders

MIT License
10 stars 4 forks source link

[Feature Request] `withMedia()` on columns? 👀 #9

Closed tabacitu closed 1 year ago

tabacitu commented 1 year ago

Feature Request

What I am trying to achieve

I've added a profile_picture field to my Users CRUD. And it worked GREAT!

CleanShot 2023-03-07 at 14 27 27@2x

But then I also had a profile_picture column... on the ListOperation. And that... didn't work:

CleanShot 2023-03-07 at 14 27 50@2x

I looked at the column, and I thought "aaah ok, I have to do withMedia() here too, for it to work". But... no:

CleanShot 2023-03-07 at 14 28 54@2x

Which makes sense, I knew we hadn't thought of this 😅 But it's a big oversight, I think so... it's time to talk about it.

How I see it implemented

The most intuitive for users would be to be able to do withMedia() on columns and it would do the same thing. But... can we do that? Would that be easy or difficult? What do you think @pxpm ?