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

Need isLoading flag in button for loading indication #44850

Closed
ramizqazi opened this issue Dec 24, 2024 · 2 comments
Closed

Need isLoading flag in button for loading indication #44850

ramizqazi opened this issue Dec 24, 2024 · 2 comments
Labels
component: button This is the name of the generic UI component, not the React module!

Comments

@ramizqazi
Copy link

ramizqazi commented Dec 24, 2024

Summary

Need isLoading flag in button for showing loading indicator. Currently you have to handle the loading by yourself (like in attached image).

Examples

Screenshot from 2024-12-24 16-50-29

Motivation

No response

Search keywords: isLoading, button, loading, circular progress

@ramizqazi ramizqazi added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 24, 2024
@ramizqazi ramizqazi changed the title Need isLoading flag in button for circular progress Need isLoading flag in button for loading indication Dec 24, 2024
@yash49
Copy link
Contributor

yash49 commented Dec 24, 2024

@ramizqazi @mui/lab offers loading buttons that can show loading state and disable interactions
https://mui.com/material-ui/react-button/#loading-button

@aarongarciah
Copy link
Member

Thanks @ramizqazi. I'm closing this issue since we are already tracking this on #42684

As @yash49 pointed out, you can use LoadingButton for now.

@aarongarciah aarongarciah closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2024
@zannager zannager added component: button This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 27, 2024
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