From f67e5082a95bea7bf910ef0aef3f747dd859661b Mon Sep 17 00:00:00 2001 From: Justin DuJardin Date: Sat, 20 Feb 2016 17:45:28 -0800 Subject: [PATCH] fix(MdMinValueValidator): do not use max validator logic - closes #61 --- ng2-material/components/form/validators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng2-material/components/form/validators.ts b/ng2-material/components/form/validators.ts index 872f18dd..497a43e0 100644 --- a/ng2-material/components/form/validators.ts +++ b/ng2-material/components/form/validators.ts @@ -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); } }