You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with Box Api using the scaffolding and building the appliction from different elements.
My suggestion would be to add an event that'd allow developers to control the selection of contentUploader via props passed down or at least be able to hook onto an event that's exposed at the top level.
I went through the docs and was really surprised not to see a simple code to work;
this.currentContentExplorer=newBox.ContentExplorer();this.contentExplorerProps={contentUploaderProps: {onSelection: (selectedFiles: Entries[])=>boolean;// tells if the files selected are valid to be displayed in the list}}this.currentContentExplorer.show(this.getCurrentFolderId(),this.ssoService.refreshedToken),this.contentExplorerProps);
The text was updated successfully, but these errors were encountered:
There's the issue with DroppableContent that it passes down onSelect but it doesn't accept it from any other place and it makes it rather difficult to provide other means to react to user selection. onSelect={handleSelectFiles}
box-ui-elements/src/elements/content-uploader/UploadInput.js
Line 10 in 3ef1040
I am working with Box Api using the scaffolding and building the appliction from different elements.
My suggestion would be to add an event that'd allow developers to control the selection of contentUploader via props passed down or at least be able to hook onto an event that's exposed at the top level.
I went through the docs and was really surprised not to see a simple code to work;
OR
The text was updated successfully, but these errors were encountered: