We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

getting property "values" as unknown

Hi I am using as <ejs-calendar [values]='dateValues' [isMultiSelection]='multiSelect'></ejs-calendar>
But on console I am getting
Uncaught Error: Template parse errors: Can't bind to 'values' since it isn't a known property of 'ejs-calendar'. 1. If 'ejs-calendar' is an Angular component and it has 'values' input, then verify that it is part of this module.
Can you please help on this

3 Replies

DL Deepa Loganathan Syncfusion Team February 28, 2019 12:08 AM

Hi Narinder,  
Thanks for contacting Syncfusion support.  
We have checked the reported issue and this issue usually occurs when the Calendar Module is not imported properly in app.module.ts. Please refer the below code for importing modules in Angular application. 
import { NgModule }      from '@angular/core'; 
import { BrowserModule } from '@angular/platform-browser'; 
// import the DatePickerModule for the DatePicker component 
import { DatePickerModule, TimePickerModule, CalendarModule } from '@syncfusion/ej2-angular-calendars'; 
import { DropDownListModule } from '@syncfusion/ej2-angular-dropdowns'; 
import { AppComponent }  from './app.component'; 
  imports:      [ BrowserModule,CalendarModule, DatePickerModule,TimePickerModule,DropDownListModule ], 
  declarations: [ AppComponent ], 
  bootstrap:    [ AppComponent ] 
export class AppModule { } 
Please check if the modules are imported properly and go through the following links to get started with Calendar control.  
Deepa L. 

NA narinder March 1, 2019 11:54 AM

Hi Deepa, 
Thank you so much for the reply . Do we have multinselect functionality in ejs-datepicker as well. If yes can you please provide me with a Demo. That will be a great help

DL Deepa Loganathan Syncfusion Team March 5, 2019 06:50 AM

Hi Narinder,  
Sorry, but currently we do not have multiselection option in EJ2 Datepicker. So, we have achieved this as a custom sample using Calendar and Multiselection Dropdown components.  
Here we have integrated Multiselection Dropdown with Calendar to achieve this requirement.  
Please check and let us know in case if you would require any further assistance.  
Deepa L. 

Live Chat Icon For mobile
Up arrow icon