cancel
Showing results for 
Search instead for 
Did you mean: 

Change uploadEnabled property when instantUpload is set to false in UploadCollection

EkanshCapgemini
Active Contributor

Hello,

I am using UploadCollection (with 'instantUpload' property as false) in my application which is opened by default in Display mode and then there is a button to change the mode to Edit. In display mode, I am listing the available attachments with the help of uploadEnabled="false" property in the xml view but once the mode is switched to Edit mode, I want the users to enable uploads.

Currently in the UploadCollection control, if the instantUpload is switched off, then you can not change the uploadEnabled property.

Could you please suggest something for this use case?

You can find the jsfiddle here.

You can find the implementation of setUploadEnabled function here.

Accepted Solutions (0)

Answers (0)