- Home
- Forum
- Angular - EJ 2
- getting property "values" as unknown
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
SIGN IN To post a reply.
3 Replies
DL
Deepa Loganathan
Syncfusion Team
February 28, 2019 05:08 AM UTC
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';
@NgModule({
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.
Regards,
Deepa L.
NA
narinder
March 1, 2019 04:54 PM UTC
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 11:50 AM UTC
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.
Regards,
Deepa L.
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
NA narinder
- Feb 27, 2019 11:35 AM UTC
- Mar 5, 2019 11:50 AM UTC