components icon indicating copy to clipboard operation
components copied to clipboard

feat(Angular Material): Add Support for type="file" for MatInput or Create Mat File Chooser component

Open ekow-mensah opened this issue 2 years ago • 1 comments

Feature Description

I would like to request for adding support for type="file" for MatInput. So currently Angular material does not have a file chooser meaning I have to use an external library which is not great. I tried using

and an error message was displayed showing "Input type "file" isn't supported by matInput."

Will it be possible to add support for type file or create a file chooser component?

Use Case

A typical use case is where I want to upload files. Currently there's no way to do this using angular material because Angular material does not have a file chooser component. So we could.

  1. Add support for type="file"
  2. You could create a component which will support file uploads

ekow-mensah avatar Jul 06 '22 02:07 ekow-mensah

Like a lot of people, still waiting for this one for some years now...

hhsissi avatar Jul 26 '22 23:07 hhsissi

Duplicate of https://github.com/angular/components/issues/24044.

crisbeto avatar Aug 11 '22 09:08 crisbeto

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.