Topic: file input type filter

ozgehan premium asked 3 years ago


Hi,

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

Thanks,


Mikołaj Smoleński staff commented 3 years ago

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

Best regards


ozgehan premium answered 3 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 3 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.

FREE CONSULTATION

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

Status

Answered

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