Skip to content

ion-datetime does not correctly render selected date #14234

Closed

Description

@JStumpp

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[x] 4.x

Problem in: "@ionic/core": "0.1.5-2"
Was not a problem in: "@ionic/core": "0.1.4-7"

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request

Current behavior:

If the first list item is selected (either month, day or year) this item is not rendered or written to the value.

Expected behavior:

Showing the selected date.

Steps to reproduce:

Select the first item e.g. Januar, 1, 2017
Close with "Done"
Nothing is rendered. Try selecting e.g. Januar, 2, 2016 ==> The "2, 2016" is displayed, but not the Januar.

Related code:

<ion-item>
  <ion-label>Date</ion-label>
  <ion-datetime></ion-datetime>
</ion-item>

Activity

  1. FdezRomero commented on Jun 6, 2018

    @FdezRomero
    Contributor

    I can also reproduce this issue with @ionic/[email protected] and the new docs (locally).
    Related to #14563.

    Thanks,
    Rodrigo

  2. pwespi commented on Jun 14, 2018

    @pwespi
    Contributor

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

  3. brandyscarney commented on Aug 14, 2018

    @brandyscarney
    Member

    Duplicate of #14563 and fixed by d19061c. Will be in the beta.3 release, thanks for the issue!

  4. ionitron-bot commented on Sep 13, 2018

    @ionitron-bot

    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.

  5. locked and limited conversation to collaborators on Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions