tesicg
tesicg

Reputation: 4053

How to allow no limits in accepted file types using input type=file?

We use:

<input type="file"... />

to upload files.

There is "accept" attribute that we can use to set the particular file types. It means, when dialog opens we're not able to see all file types in some folder, but only ones specified by "accept" attribute.

How to overcome this limit that is to allow user to see all file types in selected folder in opened dialog?

Upvotes: 0

Views: 26

Answers (1)

prasanth
prasanth

Reputation: 22510

Simply don't use accept Attribute.It will show all files

enter image description here

<input type="file">

Upvotes: 1

Related Questions