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

FileUpload: Uploaded file is cleared in advanced mode #5226

Closed
mrstexx opened this issue Nov 2, 2023 · 0 comments · Fixed by #5227
Closed

FileUpload: Uploaded file is cleared in advanced mode #5226

mrstexx opened this issue Nov 2, 2023 · 0 comments · Fixed by #5227
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@mrstexx
Copy link

mrstexx commented Nov 2, 2023

Describe the bug

When file is selected and upload button is clicked, the uploaded file is removed from the UI. Before it used to stay on the UI with the "Done" state and option to clear it from the UI.

Reproducible using advanced upload component from the documentation (https://primereact.org/fileupload/).

Reproducer

https://primereact.org/fileupload/

PrimeReact version

9.6.3

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Select the file to upload
  2. Click on upload -> uploaded file is removed from the UI.

Expected behavior

The uploaded file should stay on the UI with the clear option.

@mrstexx mrstexx added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 2, 2023
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 2, 2023
@melloware melloware assigned melloware and unassigned melloware Nov 2, 2023
@melloware melloware added this to the 10.0.10 milestone Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants