ValueChange event fires twice

Hello

I have the following code hooked up to a file upload component.  Since version 21.1 this event seems to fire twice for each file (for a multiple file upload).

So, where I am uploading say 3 files, the output window would display 6 file names.


  public async Task ValueChange(UploadChangeEventArgs args)

  {

    //Only ever one file since 21.1

    foreach (var file in args.Files)

    {

      Debug.Print(file.FileInfo.Name);

    }

  }


1 Reply

UD UdhayaKumar Duraisamy Syncfusion Team April 25, 2023 04:02 PM UTC

We have considered the reported issue "When uploading multiple files, the value change event causes file duplication" as a bug on our end. The fix for the issue will be included in our upcoming patch releases by mid-May 2023.


You can now track the status of the feedback through the below link,

https://www.syncfusion.com/feedback/43166


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Loader.
Up arrow icon