Skip to content

Commit 9402052

Browse files
committed
add config params per form element
1 parent 6281377 commit 9402052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng-server-validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
link: function ($scope, $element, attrs, form) {
4545
var config = ngServerValidateConfig.config;
4646
try {
47-
angular.extend(config, $scope.$eval(attrs.config));
47+
angular.extend(config, $scope.$eval(attrs.ngServerValidate));
4848
} catch (e) {}
4949

5050
angular.forEach(form, function (ngModel) {

0 commit comments

Comments
 (0)