Hi,
It looks like only files
tab is able to be opened by default.
if I try this:
let dialog = uploadcare.openDialog(null, [ ‘gdrive’ ], settings);
I get an empty widget.
Tried with gdrive, facebook, skydrive, dropbox… nothing works as expected.
Hi,
It looks like only files
tab is able to be opened by default.
if I try this:
let dialog = uploadcare.openDialog(null, [ ‘gdrive’ ], settings);
I get an empty widget.
Tried with gdrive, facebook, skydrive, dropbox… nothing works as expected.
if I, however, do something like
let dialog = uploadcare.openDialog(null, [ 'file'], settings);
dialog.switchTab( ‘gdrive’);
required tab will be opened.
Hi @Andrii-A
The second argument of the openDialog method should be a string with a tab name, not an array. For example,
let dialog = uploadcare.openDialog(null, 'gdrive', {});
Hope that helps.
Works, thank you.
I made an array, because it is shown as an array in the doc:
Thanks for bringing this to our attention, it looks misleading. We’ll fix it.