How to re-upload photo after apply cropper.destory()? #847
Unanswered
galaxy-dot
asked this question in
Q&A
Replies: 1 comment
-
Do you mean to select the photo file again to enter the file input? <input id="fileInput" type="file" name="file"> If so, you should clear the chosen file if you want to choose it again by this: document.querySelector('#fileInput').value = ''; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
I am using this package and encountered the issue that once I used cropper.destory() then I cannot upload photo again? If anyone could be kind enough to suggest a solution? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions