primefaces / primefaces/primereact
FileUpload: Ability to remove file in basic mode
@franmc01 is already working on this.
Since Aug 23, 2024.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature you would like to see added
I consider that this component in its basic version should have the action of being able to delete the element that has been selected, since it is quite probable that one selects an element by mistake and if he clicks the button again, this is what it does is to fire the upload action. Ideally, if I use the basic version of this component, the user also has the possibility to delete the element in case he made a mistake.
Is your feature request related to a problem?
I want to only use the basic version of the FileUpload Component, it cannot cancel or delete the selected element if I have made a mistake when selecting it.
Describe the solution you'd like
That a button on the left side be added to cancel, like the one that is displayed when one chooses the advanced version to be able to delete the file that you select, or an event that allows you to control that.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.