Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Input Demo #16600

Closed
2 tasks done
ajhool opened this issue Jul 14, 2019 · 2 comments
Closed
2 tasks done

File Input Demo #16600

ajhool opened this issue Jul 14, 2019 · 2 comments
Labels
component: button This is the name of the generic UI component, not the React module!

Comments

@ajhool
Copy link

ajhool commented Jul 14, 2019

AFAIK there is not demo of a File Input and it turns out to be doable but a little tricky ( #647 )

  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

File inputs should be as easy as the other types of input.

Current Behavior 😯

Currently, TextInputs and Buttons have Demos, but using a file input does not.

Examples 🌈

Just a standard material-ui button (raised, flat, etc.) that accepts a file input. Does not need to handle a "Drag n Drop", it should just launch the file browser on click.

Context 🔦

I would like to replace Dropzone with a simple material-ui styled upload button -- dropzone appears to be becoming less maintained.

@ajhool
Copy link
Author

ajhool commented Jul 14, 2019

My apologies, there is an "Upload" button demo in the Buttons section.

@ajhool ajhool closed this as completed Jul 14, 2019
@srobert-sre
Copy link

link to the aforementioned demo: https://mui.com/components/buttons/#upload-button

@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 20, 2022
@zannager zannager added the component: button This is the name of the generic UI component, not the React module! label Dec 20, 2022
@zannager zannager removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

4 participants