Skip to content

Ionic v4 datetime binded to reactiveform #15059

@jchapelle

Description

@jchapelle

Bug Report

Ionic:

   ionic (Ionic CLI)          : 4.0.1 (/opt/node-v10.5.0-linux-x64/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.0
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.1

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0

System:

   NodeJS : v10.5.0 (/opt/node-v10.5.0-linux-x64/bin/node)
   npm    : 6.2.0
   OS     : Linux 4.15

Environment:

   ANDROID_HOME : not set

Describe the Bug
Ion-datimetime cannot be binded properly to reactive form control. ion-input can be binded to the form but ion-datetime value are not binded properly to the form. The form control is not updated when ion-datetime is changed ...

Steps to Reproduce
Create a simple reactive form with one single control.
Bind the control to a template ion-datetime

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions