Skip to content

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

@ekow-mensah

Description

@ekow-mensah

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue represents a new feature or feature request rather than a bug or bug fixneeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions