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 figured out this issue for people in the future (at least this fixed my issue). If you are going to extend the base AttachesTool, like in #5, you must call @codexteam/ajax's .selectFiles()or .transport() function to open the OS's file selection tool. This will stop execution of the uploadSelectedFile function you're overriding until the promise returns. You may be able to use other js API's to open this selection tool, but this is at least what worked for me.
I would expect it to popup a window to select files to upload. But instead it directly calls the upload endpoint.
The text was updated successfully, but these errors were encountered: