DEV Community

Akhil Ashok
Akhil Ashok

Posted on

Angular 8 Button disable?

How to disable a button in angular8 when more than 3 times clicked

Top comments (2)

Collapse
 
roxchgt profile image
Roshak Zarhoun • Edited

How about asking in proper community and not adding irrelevant random tags like #sql and #java?

You can write a simple function in your component to count number of pressed and bind it to the button… similar to this question hier

Collapse
 
dreamcatcher8055 profile image
Akhil Ashok

Ok