Material-ui: Is there a component for file input type?

Created on 3 Jan 2018  路  5Comments  路  Source: mui-org/material-ui

Is there a component for file input type which allows us to upload images?

question

Most helpful comment

https://github.com/mui-org/material-ui/blob/ddde3c93235f170d2781749a8907005fc12372eb/docs/src/pages/demos/buttons/RaisedButtons.js#L34-L45
Next time please submit support requests and questions to StackOverflow using the tag material-ui. StackOverflow is better suited for this kind of support. The issue tracker is for bug reports and feature discussions. See also our CONTRIBUTING guidelines.

All 5 comments

https://github.com/mui-org/material-ui/blob/ddde3c93235f170d2781749a8907005fc12372eb/docs/src/pages/demos/buttons/RaisedButtons.js#L34-L45
Next time please submit support requests and questions to StackOverflow using the tag material-ui. StackOverflow is better suited for this kind of support. The issue tracker is for bug reports and feature discussions. See also our CONTRIBUTING guidelines.

...so I guess the answer is "no". ( and that code doesn't work for me )

Dropzone is roadmap. For now there's this:

https://material-ui.com/components/buttons/#upload-button

There's a 3rd party MUI dropzone.

...so I guess the answer is "no". ( and that code doesn't work for me )

Make sure Button has component="span", that helped me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anthony-dandrea picture anthony-dandrea  路  3Comments

sys13 picture sys13  路  3Comments

ericraffin picture ericraffin  路  3Comments

pola88 picture pola88  路  3Comments

ryanflorence picture ryanflorence  路  3Comments