Closed
Description
Directive Input
<input [dpDayPicker]="directiveConfig" mode="day" [(ngModel)]="date">
Component Input
<dp-date-picker [config]="directiveConfig" mode="day" [(ngModel)]="date2">
directiveConfig = {
disableKeypress: true;
}
https://stackblitz.com/edit/angular-pgjndr?file=app%2Fapp.component.html
Browser seems to complain about setAttribute on Element requiring 2 arguments instead of one. Still works on the component datepicker thought, if you comment out the Directive date picker in the stackblitz.