question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upload button instead of select on folder picker nwdirectory

See original GitHub issue

NWJS Version : 0.30.2 Operating System : Only Windows 10 64 bit On Mac OSX this is working fine

Expected behavior

Open System Select Folder dialog with “Select” button and “Create Folder” buttons

Actual behavior

Select Folder dialog shows wrong button “Upload” instead of “Select” and is also missing the Create Folder" button

How to reproduce

<input id="folder-open-dialog" type="file" nwdirectory nwworkingdir="" nwdirectorydesc="Please select a folder" role="hidden" />

upload_instead_select Sorry for the localized dutch screenshot - but it should be clear 😄

Maybe related to: https://github.com/nwjs/nw.js/issues/5265

Test files: folder_picker_bug.zip

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
rogerwangcommented, Apr 1, 2019
0reactions
rogerwangcommented, Apr 1, 2019

This is fixed in git and will be available in the next nightly build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to select folder instead of file in FileUpload?
If you to have multiple file upload, you would have to use a 3rd party ... id="uploadBtn"/> <div><% Dim files As String() =...
Read more >
Select folder in file upload - CodePen
Folder upload. Select folder. Selected Files ...
Read more >
Bootstrap File Input Folder Upload Demo - © Kartik
Upload files recursively within folders using webkitdirectory . This feature is supported only by a few modern browsers like Chrome and IE Edge....
Read more >
Upload and download files from iCloud Drive on iCloud.com
in the iCloud Drive toolbar, select the files you want to upload, ... You can only upload a file into an app's folder...
Read more >
HTMLInputElement.webkitdirectory - Web APIs | MDN
In this example, a directory picker is presented which lets the user choose one or more directories. When the change event occurs, a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found