ng-submit not working in angularjs

后端 未结 6 1601
-上瘾入骨i
-上瘾入骨i 2021-02-12 03:37

My view:

6条回答
  •  日久生厌
    2021-02-12 04:14

    for me the problem was 'required' tag on one of the form fields. After removing this tag the form worked again. The old way of solving such problems is to try to comment part of your form and to run the code.

    I prefer using 'novalidate' tag on the form, and button with type="submit" , so that the validation of the form is done by angular.

提交回复
热议问题