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

Reset Dates using PickMode Range Ionic 5 #307

Open
myvictorlife opened this issue Jul 27, 2020 · 1 comment
Open

Reset Dates using PickMode Range Ionic 5 #307

myvictorlife opened this issue Jul 27, 2020 · 1 comment

Comments

@myvictorlife
Copy link

Ionic version: (check one with "x")
[ ] 2.x
[ ] 3.x
[ ] 4.x
[x] 5.x

Ion2-calendar mode: (check one with "x")
[ ] components mode
[ ] modal mode

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] help me

Current behavior:
I'm using pickMode: 'range' and it works well, but I'm having a problem in the following situation:
After selecting the start date and end date, I would like to select the start date and end date again. I would like the dates to be reset and to be possible select start date and end date again.
Today it is only possible for me to select the start date if I select a date between the 2 dates after selected.

Expected behavior:
I would like to have the same behavior that we have today on this site "https://www-yefjsqmtmv.now.sh/", always be possible to select start and end dates.
In another worlds just reset the dates.

Steps to reproduce:
Example:
Start date: "11"
End date: "14"

If i click the day "15", the end date is selected.
Start date: "11"
End date: "15"

If i click the day "10", the start date is selected.
Start date: "10"
End date: "15"

If i click the day "12", Then yes I have the possibility to select the start date and end date.

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Ionic:

   Ionic CLI                     : 6.10.1 
   Ionic Framework               : @ionic/angular 5.2.3
   @angular-devkit/build-angular : 0.1000.2
   @angular-devkit/schematics    : 10.0.2
   @angular/cli                  : 10.0.2
   @ionic/angular-toolkit        : 2.2.0

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : ios 6.1.0

Utility:

   cordova-res : 0.15.1
   native-run  : 1.0.0
@djabif
Copy link

djabif commented Dec 7, 2023

Hi @myvictorlife , did you find a solution for this?

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

No branches or pull requests

2 participants