Allow chrome to select both/either directory or files
-
23-02-2021 - |
سؤال
If I insert <input type="file" name="files" webkitdirectory>
in a html file, chrome will allow you to select directories, however not files.
If I then remove the webkitdirectory (<input type="file" name="files">
) then it will only let you choose files.
How do I allow it to choose both/either files and/or directories?
المحلول
This is a bug I filed a while back.
لا تنتمي إلى StackOverflow