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

Commit

Permalink
fix(MdMinValueValidator): do not use max validator logic
Browse files Browse the repository at this point in the history
 - closes #61
  • Loading branch information
justindujardin committed Feb 21, 2016
1 parent 57ad33d commit f67e508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ng2-material/components/form/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class MdMinValueValidator implements Validator {
@Input() mdMin: string;

validate(control: Control): {[key: string]: any} {
return MdMaxValueValidator.inline(this.mdMin)(control);
return MdMinValueValidator.inline(this.mdMin)(control);
}
}

Expand Down

0 comments on commit f67e508

Please sign in to comment.