File Input - accept attribute


Topic: File Input - accept attribute

Venky asked 4 months ago

Expected behavior

File Input should have an attribute accept which allows to take certain file types and if possible max file size.

Actual behavior

File Input doesn't even have the default accept attribute of input tag.

Resources (screenshots, code snippets etc.)

Piotr Glejzer staff answered 4 months ago


thank you for your suggestion. I added a task about that to improve this plugin. Have a nice day.


Piotr Glejzer staff answered 4 months ago


It's me again. I have a piece of sad information about that but we have a plugin that has those functionalities that you need. We will not improve the file input component. Have a nice day.

Best regards,

Praditha Hidayat commented 3 days ago

Could you please tell us what plugin is it?

The accept attribute should be the basic attribute of the input file type.


Piotr Glejzer staff commented a day ago - check this.