Hello,
First of all thank you for the nice date-time-picker with many features. I am getting following error when I start my application. What am I suppose to modify?
Error:
Can't bind to 'mode' since it isn't a known property of 'input'. ("t" class="picker-input" [value]="momentVariable | date" [(ngModel)]="momentVariable" dateTimePicker [ERROR ->][mode]="dropdown" readonly>
Hello, First of all thank you for the nice date-time-picker with many features. I am getting following error when I start my application. What am I suppose to modify?
Error: Can't bind to 'mode' since it isn't a known property of 'input'. ("t" class="picker-input" [value]="momentVariable | date" [(ngModel)]="momentVariable" dateTimePicker [ERROR ->][mode]="dropdown" readonly>
Html:
<div class="input-group"> <span class="input-group-addon glyphicon glyphicon-calendar"></span> <input type="text" class="picker-input" [value]="momentVariable | date" [(ngModel)]="momentVariable" dateTimePicker [mode]="dropdown" readonly> </div>
Env: package.json "dependencies": { "@angular/common": "^4.0.0", "@angular/compiler": "^4.0.0", "@angular/core": "^4.0.0", "@angular/forms": "^4.0.0", "@angular/http": "^4.0.0", "@angular/platform-browser": "^4.0.0", "@angular/platform-browser-dynamic": "^4.0.0", "@angular/router": "^4.0.0", "@types/openlayers": "^4.1.2", "angular-datatables": "^4.1.0", "angular2-openlayers": "^0.6.6", "angular2-websocket": "^0.9.3", "bootstrap": "^3.3.7", "classlist.js": "^1.1.20150312", "core-js": "^2.4.1", "datatables.net": "^1.10.15", "datatables.net-bs": "^1.10.15", "datatables.net-dt": "^1.10.15", "datatables.net-select": "^1.2.2", "datatables.net-select-bs": "^1.2.2", "font-awesome": "^4.7.0", "jquery": "^3.2.1", "ng-pick-datetime": "^4.3.0", "ngx-bootstrap": "^1.6.6", "openlayers": "^4.0.1", "rxjs": "^5.1.0", "socket.io": "^2.0.3", "tapable": "^0.2.6", "web-animations-js": "^2.3.1", "zone.js": "^0.8.4" }