How to get the number of files in a multiple FileUpload field?
How do i get the number of files uploaded in the file upload field in the afterStateUpdated function? The problem is, the StateUpdated command is run for every file. Each time one file is added to the $state variable. So if you upload 3 files, in the first run there is only one file and in the last run there are all 3. But i need to know the number of files already in the first run.
0 Replies