You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FileUpload and FileUploadWithTag components both have required and readOnly properties from the default FormComponentProps. For these components required does not really make sense, and is not used for anything other than incidentally setting a required * marker next to the title. It should rather behave more similar to RepeatingGroup which get it set based on if minCount > 0. We should remove the required property since it has no real effect.
As for readOnly, there is no visual indication that the component is read only. It only blocks the user from uploading without any explanation. I am not sure what the purpose of a readOnly file upload could possibly be, but if we need to keep it, it should be indicated better, and probably not show a "file drop zone" at all.
The text was updated successfully, but these errors were encountered:
Description
The
FileUpload
andFileUploadWithTag
components both haverequired
andreadOnly
properties from the defaultFormComponentProps
. For these componentsrequired
does not really make sense, and is not used for anything other than incidentally setting a required*
marker next to the title. It should rather behave more similar toRepeatingGroup
which get it set based on ifminCount > 0
. We should remove therequired
property since it has no real effect.As for
readOnly
, there is no visual indication that the component is read only. It only blocks the user from uploading without any explanation. I am not sure what the purpose of a readOnly file upload could possibly be, but if we need to keep it, it should be indicated better, and probably not show a "file drop zone" at all.The text was updated successfully, but these errors were encountered: