Does anyone know of a way to disable the perspective file upload component based on some type of expression? I have an instance where the user needs to enter a certain property before being allowed to upload a file. There doesn’t seem to be an “enabled” property for this component which I find unusual?
We have an open feature request to provide
props.enabled as a property for the component. There is no way currently to disabled the component, though you are able to prevent any supplied files from being uploaded by constructing your own conditions in the
Good to know. For now I just dropped it in a view component and bound the visibility. Not a perfect solution but it will work for now.