From 24544e01e150bf59bfc8a6d1cc38b7cdae860c4f Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 30 Jan 2017 13:33:35 -0500 Subject: [PATCH] test(datetime): add blank floating datetimes w/ and w/o form --- src/components/datetime/test/form/app.module.ts | 2 ++ src/components/datetime/test/form/main.html | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/src/components/datetime/test/form/app.module.ts b/src/components/datetime/test/form/app.module.ts index 57864efa74..bea993f308 100644 --- a/src/components/datetime/test/form/app.module.ts +++ b/src/components/datetime/test/form/app.module.ts @@ -10,12 +10,14 @@ import { IonicApp, IonicModule } from '../../../../../ionic-angular'; export class E2EPage { stackedCtrl = new FormControl('1994-12-15T13:47:20.789'); floatingCtrl = new FormControl('1995-04-15'); + floatingCtrl2 = new FormControl(''); fixedCtrl = new FormControl({value: '2002-09-23T15:03:46.789', disabled: true}); inlineCtrl = new FormControl({value: '2005-06-17T11:06Z', disabled: true}); datetimeForm = new FormGroup({ 'stacked': this.stackedCtrl, 'floating': this.floatingCtrl, + 'floating2': this.floatingCtrl2, 'fixed': this.fixedCtrl, 'inline': this.inlineCtrl }); diff --git a/src/components/datetime/test/form/main.html b/src/components/datetime/test/form/main.html index 76450ae968..f152a4e36d 100644 --- a/src/components/datetime/test/form/main.html +++ b/src/components/datetime/test/form/main.html @@ -19,6 +19,11 @@ + + Floating + + + Fixed @@ -29,4 +34,9 @@ + + + Floating outside form + +