Skip to content

[Bug] - No restrictions in file uploader  #864

Open
@drcoolsanjeev

Description

@drcoolsanjeev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions