Reset error state when submission successful

pull/4225/head
Oliver Günther 9 years ago
parent ec3f48e6a6
commit 51b467ee15
  1. 1
      frontend/app/components/wp-edit/wp-edit-form.directive.ts

@ -42,6 +42,7 @@ export class WorkPackageEditFormController {
this.workPackage.save()
.then(() => {
angular.forEach(this.fields, field => field.setErrorState(false));
deferred.resolve();
})
.catch((error) => {

Loading…
Cancel
Save