Allow selecting both directories and files for upload #169
-
Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
Hi @mart-jansink To help make it clearer, I just published a new guide: Custom Input Let me know if this answers your need or if you still need assistance. |
Beta Was this translation helpful? Give feedback.
-
Hi @mart-jansink |
Beta Was this translation helpful? Give feedback.
-
@tacohiddink Sadly drag&drop doesn't provide the files in nested directories, nor does it give it a @yoavniran Thanks, that's exactly what I'm doing now. But I thought it'd be easier to be able to use a reference to the file input that's already being created and hoped that other people could benefit from this. |
Beta Was this translation helpful? Give feedback.
-
@mart-jansink maybe I am missing something, but I am able to drag and drop complete nested directories onto the d&d component.
|
Beta Was this translation helpful? Give feedback.
-
@mart-jansink im conflicted over exposing a ref to the internal input. For now Ill move this issue to the discussions section for others to see. |
Beta Was this translation helpful? Give feedback.
-
@mart-jansink 0.12.0 is now out with the updated |
Beta Was this translation helpful? Give feedback.
@mart-jansink 0.12.0 is now out with the updated
useFileInput
hook.Calling it without params returns the internal input ref (#175)