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

bug: ion-datetime, error when selecting the year and month when [multiple] is true #29673

Open
3 tasks done
Skandiy opened this issue Jun 28, 2024 · 0 comments
Open
3 tasks done
Labels

Comments

@Skandiy
Copy link

Skandiy commented Jun 28, 2024

Prerequisites

Ionic Framework Version

v7.x, v8.x

Current Behavior

If you switch to the year and month selection mode, then when the year and month are alternately changed, the value of the month or year is reset, respectively, to a value equal to the current date

ion-datetime_.Ionic.API.Input.for.Datetime.Format.Picker.2024-06-28.08-48-17.mp4

Expected Behavior

The values of the year and month should change independently of each other. Changing the value of the year should not affect the change in the value of the month and vice versa

Steps to Reproduce

  1. Open the example Stackblitz url of the ion-datetime.
  2. Switch to the year and month selection mode
    image
  3. Alternately change the year and month in this window

Code Reproduction URL

https://stackblitz.com/edit/angular-yjnklk?file=src%2Fapp%2Fapp.component.ts

Ionic Info

@angular/animations
17.0.1

@angular/common
17.0.1

@angular/compiler
17.0.1

@angular/core
17.0.1

@angular/forms
17.0.1

@angular/platform-browser
17.0.1

@angular/platform-browser-dynamic
18.0.1

@angular/router
17.0.1

@ionic/angular
8.2.2

@ionic/core
8.2.2

rxjs
7.8.1

tslib
2.6.2

zone.js
0.14.2

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants