Hi Esrom,
For the specified use-case, try with the below-mentioned JavaScript code.
- Define a JavaScript node with a single input parameter passing the Upload widget Id
- Using the JavaScript disable the "file" type input which is defined inside the upload widget
JavaScript Snippet
var uploadWidget = document.querySelector('#' + $parameters.UploadWidgetId + ' > input');
uploadWidget.setAttribute("disabled", "disabled");
Hope this helps you!
Kind regards,
Benjith Sam