ion2-calendar
ion2-calendar copied to clipboard
Reset Dates using PickMode Range Ionic 5
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
Hi @myvictorlife , did you find a solution for this?