Skip to content
Discussion options

You must be logged in to vote

This should be fixed in v1.8.1. You can continue passing an array to control.change() now:

<FileUpload
  accept="image/*"
  maxFiles={5}
  multiple
  onValueChange={(newFiles) => control.change(newFiles)}
  value={control.files}
/>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@edmundhung
Comment options

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