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 files ref methods #4516

Closed
melloware opened this issue Jun 15, 2023 · 0 comments · Fixed by #4517
Closed

FileUpload: Uploaded files ref methods #4516

melloware opened this issue Jun 15, 2023 · 0 comments · Fixed by #4517
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@melloware
Copy link
Member

melloware commented Jun 15, 2023

Describe the bug

Reported on Discord by Vito: https://discord.com/channels/787967399105134612/787968635414118421/1116676553384931338

image

Calling clear does not clear already uploaded files:

image

Reproducer

https://stackblitz.com/edit/react-pmgbwt?file=src%2FApp.js

PrimeReact version

9.5.0

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@melloware melloware added Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible 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 Jun 15, 2023
@melloware melloware self-assigned this Jun 15, 2023
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 15, 2023
@melloware melloware modified the milestones: 10.0.0, 9.6.0 Jun 15, 2023
@melloware melloware removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 15, 2023
melloware added a commit to melloware/primereact that referenced this issue Jun 15, 2023
@melloware melloware changed the title FileUpload: clear method is not clearing all files FileUpload: Uploaded files ref methods Jun 15, 2023
@melloware melloware added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Type: Bug Issue contains a defect related to a specific component. labels Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant