Spinner doen't show when you set the active property in code.
See original GitHub issueBug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
OS and Version?
Windows 10.
Versions
Angular 12.2.9 mat-progress-buttons 9.3.1
Repro steps
Open this Stackblitz and click the button.
Changes I made to your demo stackblitz:
- Updated the mat-progress-buttons to version 9.3.1.
- Replaced the demo code with your example code found here.
- updated the app.module so it will call the forRoot().
- Click the button in the output. This is not spinning.
Desired functionality
The button spinning when setting the active property in code.
Mention any other details that might be useful
This broke in v9.3.1.
#90 might be related
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Spinner does not show selected value - Stack Overflow
set values to your ArrayList first and then assign that arrayList to spinner. I declared a global arrayList and set it to spinner...
Read more >Android Spinner - drop down list | DigitalOcean
In the default state, a spinner shows its currently selected value. Touching the spinner displays a drop down menu with all other available ......
Read more >Spinners · Bootstrap v5.0
Bootstrap “spinners” can be used to show the loading state in your projects. They're built only with HTML and CSS, meaning you don't...
Read more >Spinner and Progress Bar in Swift: Getting Started
In this tutorial, you'll build two kinds of progress indicators in an iOS app that displays high-quality photos of dahlias, a type of...
Read more >PowerApps Tips and Tricks - Create loading spinners, add ...
In this video, you are going to learn from my bag of PowerApps tips and tricks. Configure a PowerApps Loading Spinner, different ways...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

On Angular 12+
Instead of mutating the object directly like
btnOpts.active = truetry using a spread operator like
btnOpts = { ...this.btnOpts, active: true };Worked for us. Cheers
Downgrade to 9.2.1 works for me