pub fn file_upload(
file_upload: &FileUpload,
) -> Result<(), ComponentValidationError>Expand description
Validates a file upload component.
ยงErrors
Returns an error of type ComponentCustomIdLength if the provided custom
ID is too long.
Returns an error of type FileUploadMaximumValuesCount if the provided number
of files that can be uploaded is larger than the maximum.
Returns an error of type [FileUploadMinimumValuesCount] if the provided number
of files that must be uploaded is larger than the maximum.