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

ion-datetime does not correctly render selected date #14234

Closed
JStumpp opened this issue Mar 26, 2018 · 4 comments
Closed

ion-datetime does not correctly render selected date #14234

JStumpp opened this issue Mar 26, 2018 · 4 comments
Labels

Comments

@JStumpp
Copy link

JStumpp commented Mar 26, 2018

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>
@ionitron-bot ionitron-bot bot added the triage label Mar 26, 2018
@FdezRomero
Copy link
Contributor

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

Thanks,
Rodrigo

@pwespi
Copy link
Contributor

pwespi commented Jun 14, 2018

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

@brandyscarney
Copy link
Member

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

@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
Projects
None yet
Development

No branches or pull requests

4 participants