os-js / osjs-dialogs

OS.js Dialogs Module

Home Page:https://manual.os-js.org/v3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for selecting folders in file dialog

andersevenrud opened this issue · comments

As of now you can only select files in the "file" dialog. Needs to support an option for this.

@hanswurmwurst I have now added support for selecting directories :)

core.make('osjs/dialog', 'file', {
  filetype: 'directory' // New option
}, (button, file) => {
});

npm update @osjs/dialogs