Skip to content

bug(ion-datetime) format as MM only #16723

Closed

Description

@Newbie012

Bug Report

Ionic version:

[x] 4.x

Current behavior:

If you pick a month in <ion-datetime displayFormat="MM"></ion-datetime>, it won't select it. Once you try to select it again, the value will be displayed, but it won't patch the value.

Expected behavior:

Choosing a month should be one time, and it should patch the control value.

Steps to reproduce:

  • run <ion-datetime displayFormat="MM"></ion-datetime>.
  • pick a month.
  • see occurance.

Related code:

<ion-datetime displayFormat="MM"></ion-datetime>
insert short code snippets here

Other information:

Ionic info:

insert the output from ionic info here

Activity

  1. liamdebeasi commented on Feb 12, 2019

    @liamdebeasi
    Contributor

    Hi there,

    Thanks for the issue! I’ve added this to issue #16630 to keep track of. We’re going to close out the individual issues and address all of the Datetime issues at once. We’re not forgetting about your issue, just trying to keep them all together.

    Thanks for using Ionic!

  2. liamdebeasi commented on Mar 11, 2019

    @liamdebeasi
    Contributor

    Hi there,

    This has been fixed via #17706 and will be in the next release of Ionic. I have published a nightly build of Ionic with this fix (npm install @ionic/core@dev). Feel free to test it out and provide feedback if you have the time.

    Thanks!

  3. self-assigned this
    on Mar 11, 2019
  4. ionitron-bot commented on Apr 10, 2019

    @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 Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

package: core

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