Installed via npm, I'd like to use in an Angular4 project. After I imported TimePicker as https://github.com/bharatraj88/angular2-timepicker/issues/3 says, I get this error:
Can't bind to 'options' since it isn't a known property of 'input'. ("at="dd/mm/yy">
<input type="text" [(ngModel)]="event.start" class="timepicker" [ERROR ->][options]="{disableTextInput: false,'timeFormat':'HH:mm',showDuration:false}" />
How can I fix this? I looked at the source code of TimePicker, and everything seems to be correct (@input() options defined, etc...)
Installed via npm, I'd like to use in an Angular4 project. After I imported TimePicker as https://github.com/bharatraj88/angular2-timepicker/issues/3 says, I get this error:
Can't bind to 'options' since it isn't a known property of 'input'. ("at="dd/mm/yy">
<input type="text" [(ngModel)]="event.start" class="timepicker" [ERROR ->][options]="{disableTextInput: false,'timeFormat':'HH:mm',showDuration:false}" />
How can I fix this? I looked at the source code of TimePicker, and everything seems to be correct (@input() options defined, etc...)