Skip to content

Uploaded file real name not working #30

Description

@henryavila

Hi, first of all, thanks for the great plugin, it's helping me a lot.

A problem I'm facing is that I need to save the original file name and it size.
The problem is that the plugin manually set uploaded_file.jpg to original Name.
I can confirm that this happens just with this plugin. The native ImageField works great.

In file PicturePicker.vue I found:

// The default value been set
69: originalName: 'uploaded_file.jpg',

...

// The originalName is been replaced, but for some reason it's not working.
119: this.originalName = file.name

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions