Open ayrancd opened 4 weeks ago
I used npm to install it and I can see in the package.json everything is there...
In my .ts file I added import { NgxDaterangepickerMd } from 'ngx-daterangepicker-material';
and this is my .html
<input type="text" ngxDaterangepickerMd [(ngModel)]="selected" class="form-control"/>
No erros, but also no date range picker... I can't add
@NgModule({ imports: [ ... , FormsModule, NgxDaterangepickerMd.forRoot() ], declarations: [App], bootstrap: [App] })
it conflicts with
@Component({ selector: 'app-custom-reports', templateUrl: './custom-reports.component.html', styleUrls: ['./custom-reports.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush, //needed to display the report encapsulation: ViewEncapsulation.None // Enable dynamic HTML styles })
I am new to Angular... any idea of how to fix this?
I used npm to install it and I can see in the package.json everything is there...
In my .ts file I added import { NgxDaterangepickerMd } from 'ngx-daterangepicker-material';
and this is my .html
<input type="text" ngxDaterangepickerMd [(ngModel)]="selected" class="form-control"/>
No erros, but also no date range picker... I can't add
@NgModule({ imports: [ ... , FormsModule, NgxDaterangepickerMd.forRoot() ], declarations: [App], bootstrap: [App] })
it conflicts with
@Component({ selector: 'app-custom-reports', templateUrl: './custom-reports.component.html', styleUrls: ['./custom-reports.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush, //needed to display the report encapsulation: ViewEncapsulation.None // Enable dynamic HTML styles })
I am new to Angular... any idea of how to fix this?