ion2-calendar
ion2-calendar copied to clipboard
Can't bind to 'options' since it isn't a known property of 'ion-calendar' ion2 calendar
Ionic version: (check one with "x") [ ] 2.x [ x ] 3.x [ ] 4.x
Ion2-calendar mode: (check one with "x") [ x ] components mode [ ] modal mode
I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [ x ] help me
Current behavior:
Template parse errors: Can't bind to 'options' since it isn't a a known property of 'ion-calendar'
Steps to reproduce:
I have a Popover, which creates a FilterPage, with the ion-calendar tag. FilterPage.module.ts imports CalendarModule
Related code:
insert short code snippets here
Other information:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 2.0.0-rc.6
ionic (Ionic CLI) : 4.0.0-rc.6
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.9
Cordova Platforms : none
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
NodeJS : v8.11.1
npm : 5.5.1
OS : Linux 4.9
Environment Variables:
ANDROID_HOME : /opt/android-sdk
HTTP_PROXY : http://10.253.1.157:8080
http_proxy : http://10.253.1.157:8080
HTTPS_PROXY : http://10.253.1.157:8080
https_proxy : http://10.253.1.157:8080
I had this problem, if you are using lazy loading, Add to yourpage.module.ts
import {CalendarModule} from "ion2-calendar";
and
imports: [ IonicPageModule.forChild (OrdCalenderPage), CalendarModule ]
This should solve the problem :)
wow,tks!!!