spatie / medialibrary.pro

The source code of medialibrary.pro
https://medialibrary.pro
36 stars 9 forks source link

Replacing an image doesn't change the filename #29

Closed jefvdv closed 3 years ago

jefvdv commented 3 years ago
Screenshot 2020-11-10 at 14 28 25

I just replaced this image, but the filename is still from the previous image. I would expect this to be overwritten by the new filename.

AdrianMrn commented 3 years ago

I had a discussion about this with @willemvb, this input field is not really the file's name, but a name you want to give to the file (in a collection of files, you would give them the names CV, motivatiebrief, …).

I agree that this can cause some confusion, but we've decided to leave it like this for now. If other people tell us this is confusing for them in an actual application context, I'll change this (maybe add a prop to switch the behaviour).