Add Note Box for File Uploads #2016
-
Hi all, I have been using the File upload component, and so far it has been great! All the UI components have been slick and love this design system! One thing I have been wanting to do though, is to add a description box or note for each file upload, so a customer can quickly write a little note, if needed, for each file they uploaded. Is there any way to achieve this? Would I have to make a custom wrapper component that uses the File component internally? I would like to use the Any guidance on this is greatly appreciated! Thank you! Nicolas |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Nicolas, Thank you for your request, and glad that you are enjoying using Cloudscape! Currently there is no way to do exactly what you describe with the File Upload component, and there are no plans to add such a feature. As you suggest, it would be possible to come up with a higher order component where multiple instances of the File Upload component could be revealed as the user is offered the option of uploading more files. Each of these instances could eventually use the Hopefully this helped clarify, or at least confirm what you already thought. |
Beta Was this translation helpful? Give feedback.
Hi Nicolas,
Thank you for your request, and glad that you are enjoying using Cloudscape! Currently there is no way to do exactly what you describe with the File Upload component, and there are no plans to add such a feature.
As you suggest, it would be possible to come up with a higher order component where multiple instances of the File Upload component could be revealed as the user is offered the option of uploading more files. Each of these instances could eventually use the
multiple
prop as well; however, it would not be possible for users to label each individual file when uploading multiple at once with a single instance of the component. Also, it could be confusing to have two diff…