Topic: file input type filter

ozgehan premium asked 4 years ago


Is there a way to filter filter-input with specific type of file. Such as only jpeg files ?


Mikołaj Smoleński staff commented 4 years ago

Hi there, You can add img prop to change it to image-only file upload.

Best regards

ozgehan premium answered 4 years ago

Hi Mikolaj, I added img prop to file-input (sorry for misspell in my question earlier). When I testing file-input component form my page. I noticed that I can't show a thumbnail of a tiff file but everything is ok with jpeg nad png files.

enter image description here

enter image description here

Mikołaj Smoleński staff commented 4 years ago

Thanks for the detailed description. I'm adding your issue to the waiting list of needed fixes. Best regards

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: 6.7.1
  • Device: computer
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No