Add support for selecting folders in file dialog
andersevenrud opened this issue · comments
Anders Evenrud commented
As of now you can only select files in the "file" dialog. Needs to support an option for this.
Anders Evenrud commented
@hanswurmwurst I have now added support for selecting directories :)
core.make('osjs/dialog', 'file', {
filetype: 'directory' // New option
}, (button, file) => {
});
Anders Evenrud commented
npm update @osjs/dialogs