As the title says.
Naturally, since IsEnabled=False, the file should not be uploaded and the process should be skipped, but the error shown in the attached image occurs. If the initial value of "IsEnabled" is True as in the demo and then changed to False, no error occurs.
I think this is a bug, so I would appreciate it if you could fix it.
MultipleFileUpload uses the FileUpload block. Therefore, do not modify the MultipleFileUpload block. Instead, add OnReady in FileUpload and call the OnParametersChanged screen action.
Hi, @Yuichi Igarashi
I have attached the logics in the OML
This will help you,
Thanks
Hi Priya-san,
Your implementation does not reproduce the problem correctly.The problem occurs when the Default Value of IsEnabled is False.
The problem occurs in MultipleFileUpload.
The image above is a capture of your implementation.
There is a bug in MultipleFileUploadReactive_CW. The OnParametersChanged action only fires when the input parameter changes. If you initialize the block with IsEnabled set to false, this action will not be called, causing the file upload control to remain enabled even though it appears disabled.
To fix this, add an OnReady event handler in FileUpload and invoke OnParametersChanged inside it.
Hi Siya-san,
It seems that MultipleFileUpload does not have OnParametersChanged, so is it correct to copy the implementation of OnParametersChanged from FileUpload?
I understand. Thank you.
I was able to temporarily avoid the error. However, since it is a "Trusted" app, I would like the developer to fix it in the form of a version update.