How do you disable the submit button after a single click to prevent multiple submissions in Angularjs?

前端 未结 10 2158
礼貌的吻别
礼貌的吻别 2020-12-23 14:35

I\'ve looked all over the web including several stack overflow examples for a solution to the question. To be specific, I tried this:

10条回答
  •  渐次进展
    2020-12-23 15:07

    Try using this:

    
    enable edit
    disable edit
    toggle edit
    

    Also there are different approaches to achieve this functionality, you can go through following links, they will surely help.

    disabling all form controls between submit and server response

    disable button on $http/$q calls

    how to perform a check on ng-disabled

提交回复
热议问题