Skip to content

bug: ion-datetime triggers ionChange on load #20873

Description

@jeydsamy

Bug Report

Ionic version:

[x] 5.x

Current behavior:

ion-datetime is triggering ionChange on page load

Expected behavior:

ion-datetime should trigger ionChange only after user changes the date/time

Steps to reproduce:

A sample application via GitHub
https://github.com/jeydsamy/ionic-datetime-sample

  1. Clone project from git, npm install and run with ionic serve
  2. Navigate between tabs, console will print "Date Changed!" even when it is not changed.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions