Skip to content

bug: datetime, setting value out of bounds prevents user from navigating in bounds  #24881

@Yura13

Description

@Yura13

Prerequisites

Ionic Framework Version

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

Current Behavior

datepicker-min-max-attributes

Expected Behavior

I should have a possibility to navigate to the available months.

Steps to Reproduce

I am trying to edit the saved date but can't navigate to the next month.
Saved date is 2021-12-12
Min date is 2022-03-04
Max date is 2022-04-03

Code Reproduction URL

No response

Ionic Info

Ionic:

Ionic CLI : 6.18.1 (C:\Users\Xiaomi\AppData\Roaming\nvm\v16.13.2\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 6.0.10
@angular-devkit/build-angular : 13.1.3
@angular-devkit/schematics : 13.1.3
@angular/cli : 13.1.3
@ionic/angular-toolkit : 5.0.3

Cordova:

Cordova CLI : 10.0.0 (cordova-lib@10.1.0)
Cordova Platforms : android 9.1.0, browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, cordova-plugin-ionic 5.5.1, (and 28 other plugins)

Utility:

cordova-res : not installed globally
native-run : 1.5.0

System:

Android SDK Tools : 26.1.1 (C:\Android\android-sdk)
NodeJS : v16.13.2 (C:\Program Files\nodejs\node.exe)
npm : 8.1.2
OS : Windows 10

Additional Information

No response

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