How does one disable the complete form (all input elements within it), while it’s being submitted via AJAX? I’ve tried setting a $scope.form_state variable in the controller and binding it to the submit button’s ng-disabled attribute, but it seems like a workaround. There should be an easier + straight-forward way of doing this.
How does one disable the complete form (all input elements within it), while it’s
Share
You can put all form elements into
fieldsetand useng-disabledto disable the whole fieldset.