From 181a07024e8ee602fd989e36b41e9b86ca537b90 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 28 Jan 2016 20:34:17 -0600 Subject: [PATCH] fix(input): check has value on writeValue --- ionic/components/input/input-base.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ionic/components/input/input-base.ts b/ionic/components/input/input-base.ts index 86107b82b6..7130a07def 100644 --- a/ionic/components/input/input-base.ts +++ b/ionic/components/input/input-base.ts @@ -181,8 +181,9 @@ export class InputBase { * the checked value. * https://github.com/angular/angular/blob/master/modules/angular2/src/forms/directives/shared.ts#L34 */ - writeValue(value) { - this._value = value; + writeValue(val) { + this._value = val; + this.checkHasValue(val); } /**