-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
FileUpload : Image Upload Error: Previous Image Not Clearing After Upload Failure #7740
Labels
Type: Bug
Issue contains a defect related to a specific component.
Comments
Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days. |
I have forked the project on Stackblitz and created a case to demonstrate
the bug as requested. You can view the demonstration. I have included all
relevant steps and information to help replicate the issue.
…On Thu, Feb 27, 2025 at 5:01 PM github-actions[bot] < ***@***.***> wrote:
Please fork the Stackblitz project
<https://stackblitz.com/edit/vitejs-vite-daiajq?file=src%2FApp.tsx> and
create a case demonstrating your bug report. This issue will be closed if
no activities in 20 days.
—
Reply to this email directly, view it on GitHub
<#7740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDJS5YMTMVSL6ASZHUHRIVT2R35BFAVCNFSM6AAAAABX7QSSBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBXG42TAOBRGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: github-actions[bot]]*github-actions[bot]* left a comment
(primefaces/primereact#7740)
<#7740 (comment)>
Please fork the Stackblitz project
<https://stackblitz.com/edit/vitejs-vite-daiajq?file=src%2FApp.tsx> and
create a case demonstrating your bug report. This issue will be closed if
no activities in 20 days.
—
Reply to this email directly, view it on GitHub
<#7740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDJS5YMTMVSL6ASZHUHRIVT2R35BFAVCNFSM6AAAAABX7QSSBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBXG42TAOBRGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@MuzammilAsghar0987 i think you forgot your StackBlitz link? See your first post Reproducer section is blank? |
Thanks switched it to Bug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When clicking on the upload button and encountering an upload error, the previous image remains in the data-pc-section="content" field even after multiple failed attempts. Before the upload, the image selection works fine. However, after an error occurs during the upload process, selecting a new image shows both the previous and the new image. This issue persists across multiple attempts.
Note : multiple prop is false.
Reproducer
https://stackblitz.com/edit/vitejs-vite-j6olr6ee?file=src%2FApp.tsx
System Information
Steps to reproduce the behavior
Expected behavior
The previous image should be cleared from data-pc-section="content" after each failed upload, ensuring only the newly selected image is displayed.
The text was updated successfully, but these errors were encountered: