Skip to content

File Upload component getElement not working #1822

Closed Answered by tom-ramesh
tom-ramesh asked this question in PrimeReact
Discussion options

You must be logged in to vote

got it working use this line of code

fileUploadRef.current.setFiles([presetFile])

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tom-ramesh
Comment options

@tom-ramesh
Comment options

@tom-ramesh
Comment options

Answer selected by melloware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants