-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/inputfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Bug, feature request, or proposal:
Feature Proposal
What is the expected behavior?
Instead of creating a hidden input and a button to handle file uploads it'd be great for matInput
to support type="file"
inside a mat-form-field
. This would make error handling much smoother and more in line the UI.
<input #fileUpload matInput mat-raised-button type="file" accept="image/png, image/jpeg, image/jpg">
What is the current behavior?
ERROR Error: Input type "file" isn't supported by matInput.
codecoster, kellyprankin, HaaLeo, romanlp, stagefright5 and 8 more
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/inputfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix