Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix(bal-file-upload): Unable to upload .docx files. #1411

Closed
1 task done
1lander opened this issue May 27, 2024 · 3 comments
Closed
1 task done

🐛 fix(bal-file-upload): Unable to upload .docx files. #1411

1lander opened this issue May 27, 2024 · 3 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@1lander
Copy link

1lander commented May 27, 2024

Current Behavior

When adding .docx files to the accept property I'm able to select docx files but when I click to upload an error(file_name.docx => BAD_EXTENSION) gets thrown

Expected Behavior

For the document to be uploaded and appear in the file list.

Steps to Reproduce

  1. add docx file type to the accept property
  2. upload docx file
  3. see error

Version

16.1.0

Browsers

Chrome

Device

Desktop

Code Reproduction URL

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@1lander 1lander added the 🐛 bug Something isn't working label May 27, 2024
@mmarinkov mmarinkov self-assigned this May 30, 2024
@mmarinkov
Copy link
Contributor

Hi @1lander,
I assume the chosen mime type is not correct. Adding "application/vnd.openxmlformats-officedocument.wordprocessingml.document" to the accept property should solve the issue. Can you please test this change?

@1lander
Copy link
Author

1lander commented May 30, 2024

Hi @1lander, I assume the chosen mime type is not correct. Adding "application/vnd.openxmlformats-officedocument.wordprocessingml.document" to the accept property should solve the issue. Can you please test this change?

Yes, adding this to my accept property works. Thanks!

@1lander 1lander closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants