please refer. https://prnt.sc/v2cwqt. is there any thing wrong with my usage?
my code like this:
MemoryBuffer buffer = new MemoryBuffer();
Upload upload = new Upload(buffer);
upload.setAcceptedFileTypes(".csv");
upload.setDropAllowed(true);
please refer. https://prnt.sc/v2cwqt. is there any thing wrong with my usage?
my code like this:
MemoryBuffer buffer = new MemoryBuffer();
Upload upload = new Upload(buffer);
upload.setAcceptedFileTypes(".csv");
upload.setDropAllowed(true);
Hello!
I guess it could be fixed with
upload.setAcceptedFileTypes("text/csv");
Best regards,
Yuriy
Yuriy Yevstihnyeyev:
Hello!I guess it could be fixed with
upload.setAcceptedFileTypes("text/csv");
Best regards,
Yuriy
thanks for answer.
the problem is not 100% reproduction. if i need set the “accept file type”, it should be 100% reproduction.
let me try it.