V
V
Vladimir2017-08-23 11:34:05
React
Vladimir, 2017-08-23 11:34:05

How to remove file after adding to HTML file?

Good day! Made a Dran n Drop field for this article. Files are added as expected. Please tell me how to delete, for example, I added 3 files there and I changed my mind about sending one of them and I want to remove it from there. I guess when adding files there must be some kind of array. Thanks in advance for the replies!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-04-28
@rockon404

Animation of TransitionGroup children only fires for elements added or removed after the TransitionGroup has been mounted.
See an example from the official documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question