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

[Bug] - No restrictions in file uploader #864

Open
drcoolsanjeev opened this issue Jun 3, 2023 · 0 comments
Open

[Bug] - No restrictions in file uploader #864

drcoolsanjeev opened this issue Jun 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@drcoolsanjeev
Copy link

drcoolsanjeev commented Jun 3, 2023

Component
FwFileUploader

Describe the bug
After providing ".jpg" as accept props, we are able to upload file of any type. So there is no restrictions of file type provide by default as in plain html input field.

To Reproduce
Steps to reproduce the current behaviour:

  1. Go to https://moonlit-rabanadas-0f0022.netlify.app/components/core/file-uploader/#properties
  2. Click on Upload file able to select file type as any.

Expected behaviour
The selection should be restricted based on accept props value.

@drcoolsanjeev drcoolsanjeev added the bug Something isn't working label Jun 3, 2023
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

1 participant