vue-filepond icon indicating copy to clipboard operation
vue-filepond copied to clipboard

[Feature] Use Image with Idle Label

Open SamratSahoo opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe.

When I make upload boxes, I generally think it would be nice to have an image that I could put next to my Idle label to indicate that this is an upload box and to make it more aesthetically pleasing (for example)

Describe the solution you'd like

I think it would be nice if we could have some sort of prop that allows us to specify our idle image label as a property

<file-pond
      label-idle="Drag a File or Browse to Upload an Image"
      image-label-idle="idle.png"
    />

Describe alternatives you've considered

  • Manually creating an upload box
  • Using a different library that may support something similar

SamratSahoo avatar Jul 29 '22 00:07 SamratSahoo

yes you can . but not in your way , label-idle request a string , then turn into html. you can add

label-idle='<img src="img-path" />'

remember to resize the image or it will be bleeding out the block

maverickchangithub avatar Mar 02 '23 12:03 maverickchangithub