primereact
primereact copied to clipboard
FileUpload: Ability to remove file in basic mode
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.
English only please. Will close for now and re-open if translated into English.
I'm sorry, now it's in English :)
Is it solved?
Nope ticket is still open....
Hey @melloware, could you take a look at this? It's me again 👨💻 https://github.com/primefaces/primereact/pull/7071
Assigned to PrimeTek to review.