Is it select multiple directories with webkitdirectory?

I have this input where users can choose a folder containing files to upload. Is … Read more Is it select multiple directories with webkitdirectory?

I have this input where users can choose a folder containing files to upload. Is there a way that I can allow users to select multiple folders at once?

 <input
                type="file"
                name="upload_files[]"
                directory=""
                webkitdirectory=""
                multiple=""
                onChange={handleImageChange}
                style={{
                  marginTop: '12px',
                  marginBottom: '12px',
                }}
              />

Source: React – Stack Overflow


Categories: NewsTags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *