Skip to content

DateTime doesn't update value of variable #14755

@carstenbaumhoegger

Description

@carstenbaumhoegger

Bug Report

Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.

Ionic:

   ionic (Ionic CLI)          : 4.0.0-rc.10 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-alpha.7
   @angular-devkit/core       : 0.6.0
   @angular-devkit/schematics : 0.6.0
   @angular/cli               : 6.0.1
   @ionic/ng-toolkit          : not installed
   @ionic/schematics-angular  : 1.0.0-rc.10

Cordova:

   cordova (Cordova CLI) : not installed
   Cordova Platforms     : none

System:

   NodeJS : v10.4.1 (/usr/local/bin/node)
   npm    : 6.1.0
   OS     : macOS High Sierra
   Xcode  : Xcode 9.4.1 Build version 9F2000

Environment:

   ANDROID_HOME : not set

Describe the Bug
The DateTime element doesn't update the variable that it is connected with through two way binding. The variable just stays unchanged either undefined or with the pre-set value.

It seems as if one-way binding is used here although two-way binding is specified.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Checkout the Ionic conference app at the core-updatebranch
  2. Click on About and change May 17, 2045 to something else
  3. See that the underlying variable conferenceDate didn't change

Expected Behavior
The specified variable should be changed accordingly to the selected value in the view.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions