Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Use Image with Idle Label #260

Open
1 task done
SamratSahoo opened this issue Jul 29, 2022 · 1 comment
Open
1 task done

[Feature] Use Image with Idle Label #260

SamratSahoo opened this issue Jul 29, 2022 · 1 comment

Comments

@SamratSahoo
Copy link

Is there an existing issue for this?

  • 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
@maverickchangithub
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants