Open worthy7 opened 3 years ago
I see, the problem is related to using Angular Material, with the color set. In that situation it is ignoring the color but it is technically unpressable/disabled.
Also, if the button is type='submit'
then it does not stop the submit event!
Thanks for opening this up! Pull Requests fixing this would be welcome!
:ghost: Brief Description
When
[disabled]="...
logic on is a button,disableBtn: true
option does not disable the button:tophat: workflow configuration
Steps To Reproduce
Steps to reproduce the behavior:
:police_car: Expected behavior
Button to be disabled when clicking, the promise is in motion.
:heavy_plus_sign: Additional context
Seems related https://github.com/johannesjo/angular2-promise-buttons/issues/34