Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation version 4.0.0 #550

Open
ayrancd opened this issue Jun 3, 2024 · 0 comments
Open

Installation version 4.0.0 #550

ayrancd opened this issue Jun 3, 2024 · 0 comments

Comments

@ayrancd
Copy link

ayrancd commented Jun 3, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant