Skip to content

capture attribute in input upload compoent #6717

@AliGhasami

Description

@AliGhasami
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.20

Environment

apple phone - ios os

Reproduction link

https://antdv.com/components/upload

Steps to reproduce

my code is

<input type="file" accept="image/*" style="display: none;" capture="false" >

this code generated by compoent upload

What is expected?

Because the capture attribute is used, the ios operating system opens the camera by default and does not display the file and gallery selection option.

What is actually happening?

please remove capture attribute from input upload. if user need set capture attribute in upload by props.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions