Skip to content

bug: ion-datetime-button can't pick up the day #25965

@acoldfox

Description

@acoldfox

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

It's about ion-datetime-button component
I use the official basic usage sample code, when i selectd the year-month if i dismiss the modal at this time and i click the modal appear agian,I can't pick up the day properly, I record the screen below, please see the "Steps to Reproduce"

Expected Behavior

I can pick up the day properly

Steps to Reproduce

CleanShot 2022-09-19 at 09 04 29

Code Reproduction URL

https://stackblitz.com/edit/angular-jjgj7c?file=package.json

Ionic Info

   Require stack:
   - /usr/local/lib/node_modules/@ionic/cli/lib/project/index.js
   - /usr/local/lib/node_modules/@ionic/cli/lib/index.js
   - /usr/local/lib/node_modules/@ionic/cli/index.js
   - /usr/local/lib/node_modules/@ionic/cli/bin/ionic

Ionic:

Ionic CLI : 6.20.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 6.2.0

Capacitor:

Capacitor CLI : 4.0.1
@capacitor/android : 4.0.1
@capacitor/core : 4.0.1
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally
native-run (update available: 1.7.0) : 1.6.0

System:

NodeJS : v17.8.0 (/usr/local/Cellar/node/17.8.0/bin/node)
npm : 8.5.5
OS : macOS Monterey

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions