michaeldoye / mat-progress-buttons

Very simple Angular6+ Material Design progress buttons
https://mat-progress-buttons.firebaseapp.com/
MIT License
110 stars 54 forks source link

Don't disable the button while bar has value #63

Open takashi1kun opened 4 years ago

takashi1kun commented 4 years ago

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x] feature request

Desired functionality

It would be nice to have a option that when true doesn't disable the button when it has some value.

AndreyBespamyatnov commented 3 years ago

I think we could make something like that disabled: boolean | any | underfined
so based on the type we can or disable it or get it from function, and you can define your specific behavior as a function