From 81c3394d32e8f9aea7db046b5ec81659632cf134 Mon Sep 17 00:00:00 2001 From: Andrew Mitchell Date: Mon, 30 Jan 2017 12:34:18 -0600 Subject: [PATCH] fix(datetime): set input-has-value class without formControlName (#8947) --- 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 4cdb8dee73a..ba4bca27ec8 100644 --- a/src/components/datetime/datetime.ts +++ b/src/components/datetime/datetime.ts @@ -852,6 +852,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(); }