Topic: File Input - accept attribute
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.)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
Piotr Glejzer
staff answered a year ago
Hi,
thank you for your suggestion. I added a task about that to improve this plugin. Have a nice day.
Best,
Piotr
Piotr Glejzer
staff answered a year ago
Hi,
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,
Piotr
Praditha Hidayat commented 10 months ago
Could you please tell us what plugin is it?
The accept attribute should be the basic attribute of the input file type.
Thanks
Piotr Glejzer staff commented 10 months ago
https://mdbootstrap.com/plugins/react/file-upload/ - check this.
Closed
This topic is closed.
Closed
- User: Free
- Premium support: No
- Technology: React
- MDB Version: 4.25.0
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: Yes