FileUpload: Access to files in the FileUpload Component #3174
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
I would like to access the files added to the FileUpload component as I did in v7.x
Is your feature request related to a problem?
Previous file access via state:
fileUploadRef?.current?.state.files
Reason for this behaviour:
I do add some information along with the files and the files are only used as an attachment. therefore I do make an api call to store the information on the database and if that succeeds the mechanism will continue to store the files via signed url on a file store/bucket which I receive as result with the first request.
Describe the solution you'd like
fileUploadRef.current?.getFiles()
Describe alternatives you have considered
itemTemplate setting the files but that causes to many rerenders and is a dirty hack :-) .
Additional context
No response
The text was updated successfully, but these errors were encountered: