We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ionic version: (check one with "x") [ ] 2.x [ ] 3.x [x] 4.x
Ion2-calendar mode: (check one with "x") [ ] components mode [x] modal mode
I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [x] help me
Current behavior: I have define the CalendarModalOptions: { to: new Date(Date.now()+2460601000365) }
When opening the modal, it seems to have missing months in the list as shown here.
Expected behavior: I want the calendar modal to have a 365 days range from new Date().
Steps to reproduce:
Related code:
async openCalendar() { const options: CalendarModalOptions = { to: new Date(Date.now() + 24* 60 * 60 * 1000 * 365) }; const myCalendar = await this.modalCtrl.create({ component: CalendarModal, componentProps: { options } }); myCalendar.present(); const event: any = await myCalendar.onDidDismiss(); const date: CalendarResult = event.data; console.log(date); }
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
ionic info
Ionic: Ionic CLI : 5.4.16 (C:\Users\Amir\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 5.5.4 @angular-devkit/build-angular : 0.1000.8 @angular-devkit/schematics : 11.2.2 @angular/cli : 11.2.2 @ionic/angular-toolkit : 2.3.3 Capacitor: Capacitor CLI : 2.4.2 @capacitor/core : 2.4.2 Utility: cordova-res : not installed native-run : not installed System: NodeJS : v14.16.0 (C:\Program Files\nodejs\node.exe) npm : 6.14.11 OS : Windows 10
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ionic version: (check one with "x")
[ ] 2.x
[ ] 3.x
[x] 4.x
Ion2-calendar mode: (check one with "x")
[ ] components mode
[x] modal mode
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[x] help me
Current behavior:
I have define the CalendarModalOptions: { to: new Date(Date.now()+2460601000365) }
When opening the modal, it seems to have missing months in the list as shown here.
Expected behavior:
I want the calendar modal to have a 365 days range from new Date().
Steps to reproduce:
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: