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

How to access already added images while editing a form? #51

Closed
manasvinagpal opened this issue Mar 16, 2022 · 2 comments
Closed

How to access already added images while editing a form? #51

manasvinagpal opened this issue Mar 16, 2022 · 2 comments

Comments

@manasvinagpal
Copy link

I am unable to get a preview of already added images while editing my form and when I add new images in edit form it replaces the existing ones

@johndatserakis
Copy link
Owner

johndatserakis commented Mar 19, 2022

It sounds like you'll need to save the existing state of your file-upload-with-preview before letting the user edit it.

I'm sorry I'm not sure exactly what you mean by your message.

Although, you may need to add the multiple property to the <input type="file" element. You can see I have it added to the demo that shows the multiple preview option, demo here.

@johndatserakis
Copy link
Owner

Closing for now. The library has recently been updated, so perhaps you can take another look and see if the add typing helps your issue.

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