From d500f938b6f33bcc19aa2d7679782e8c67ab3fea Mon Sep 17 00:00:00 2001 From: Andrew Mitchell Date: Fri, 28 Oct 2016 15:21:59 -0500 Subject: [PATCH] fix(datetime): onChange without formControlName sets input-has-value class --- src/components/datetime/datetime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/datetime/datetime.ts b/src/components/datetime/datetime.ts index 2bbdd27d70d..13e7148c304 100644 --- a/src/components/datetime/datetime.ts +++ b/src/components/datetime/datetime.ts @@ -837,6 +837,7 @@ export class DateTime extends Ion implements AfterContentInit, ControlValueAcces console.debug('datetime, onChange w/out formControlName', val); this.setValue(val); this.updateText(); + this.checkHasValue(val); this.onTouched(); }