Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic v4 Datetime cannot have first value #14563

Closed
dmastag opened this issue Jun 3, 2018 · 4 comments
Closed

ionic v4 Datetime cannot have first value #14563

dmastag opened this issue Jun 3, 2018 · 4 comments

Comments

@dmastag
Copy link

dmastag commented Jun 3, 2018

Bug Report

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

cli packages: (C:\Users\julian\AppData\Roaming\npm\node_modules)

   @ionic/cli-utils  : 2.0.0-rc.6
   ionic (Ionic CLI) : 4.0.0-rc.6

global packages:

   cordova (Cordova CLI) : 8.0.0

local packages:

   @angular-devkit/core       : 0.6.0
   @angular-devkit/schematics : 0.6.0
   @angular/cli               : 6.0.1
   @ionic/schematics-angular  : 1.0.0-rc.6
   Cordova Platforms          : none
   Ionic Framework            : @ionic/angular 4.0.0-alpha.7

System:

   NodeJS : v10.3.0
   npm    : 6.1.0
   OS     : Windows 10

Environment Variables:

   ANDROID_HOME : not set

Describe the Bug
When using ion-datetime, for each column if I choose the first value then it does not show anything.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Use ion-datetime
  2. Fill in 01 Jan 2018 (first option for every column)
  3. Result empty (the value is from placeholder)
  4. Fill in 02 Jan 2018
  5. Only the Date is there, Month and Year are still empty

Related Code
html

<ion-datetime class="text-border" displayFormat="DD/MM/YYYY" pickerFormat="DD/MMM/YYYY" min="2000" max=2019 placeholder="dd/mm/yyyy"></ion-datetime>

Expected Behavior
That we can choose the first value for each column

@ionitron-bot ionitron-bot bot added the triage label Jun 3, 2018
@FdezRomero
Copy link
Contributor

I can also reproduce this issue with @ionic/angular@4.0.0-alpha.7 and the new docs (locally).

Thanks,
Rodrigo

@pwespi
Copy link
Contributor

pwespi commented Jun 14, 2018

For a possible solution, see #14479 and #14480.

@brandyscarney
Copy link
Member

Thank you for the issue! This will be fixed in the beta.3 release.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 13, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants