Feature Proposal
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">
ERROR Error: Input type "file" isn't supported by matInput.
This has been on our backlog for a long time (which we track in Jira), but we don't have any plans to work on it. The biggest obstacle is a lack of a Material Design spec for it.
up for material file upload
Still hardly needed!!!
This would be really great if it was available. It gets real awkward when you have such a nice form and then you gotta implement some hacky thing for the file upload that doesn't play nice with the rest of what we've built.
This has been on our backlog for a long time (which we track in Jira), but we don't have any plans to work on it. The biggest obstacle is a lack of a Material Design spec for it.
Is there anything that can be done to help push for a Material Design spec for this?
Most helpful comment
up for material file upload