Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Returning undefined, will cause any subsequent validation tests to fail #149

Merged
merged 1 commit into from
Feb 1, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/validate/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ angular.module('ui.validate',[]).directive('uiValidate', function () {
} else {
// expression is false
ctrl.$setValidity(key, false);
return undefined;
return valueToValidate;
}
};
validators[key] = validateFn;
Expand Down