Hi Jatinder,
Thanks for Contacting Syncfusion Support.
To bind the property of a component in angular, you need to do property binding which has a source and a target as given in the below code snippet. Please correct the code accordingly.
@Component({
selector: 'my-app',
template: `<!-- To Render DatePicker -->
<ejs-datepicker [allowEdit]=false [showTodayButton]=false></ejs-datepicker>` // allow edit -> target, false -> source
})
export class AppComponent {
}
Here the false value is bound to the allowEdit property.
We have prepared a sample to meet your requirement. Please, find the sample from the below link.
Also, please go through the following help document to explore more about Datepicker control.
Please let us know if you have any other concerns.
Regards,
Deepa L.