Skip to content

Error in [options] attributes in the component #4

@pierfreeman

Description

@pierfreeman

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...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions