Immediately uploads when you click the button.
I would expect it to popup a window to select files to upload. But instead it directly calls the upload endpoint.
Also getting this issue. @Edwin-Luijten were you able to fix this?
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.
Is this problem still actual?