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

前端 未结 10 2143
礼貌的吻别
礼貌的吻别 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:03

    Add and add isDisabled in ng-disabled attribute ng-disabled="isDisabled" , so when you select checkbox button is disabled and deselect checkbox, enable button.

    Please see link http://plnkr.co/edit/e3w54TZEmfj8h5O6BX7B?p=preview

提交回复
热议问题