Skip to content

Commit 764644f

Browse files
author
perploug
committed
Merge
2 parents 9ff82f3 + 0bf27f4 commit 764644f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ function valFormManager(serverValidationManager, $rootScope, $log, notifications
5252
//remove validation class
5353
element.removeClass(className);
5454

55+
formCtrl.$setPristine();
56+
5557
//clear form state as at this point we retrieve new data from the server
5658
//and all validation will have cleared at this point
5759
formCtrl.$setPristine();

0 commit comments

Comments
 (0)