ngx-daterangepicker-material icon indicating copy to clipboard operation
ngx-daterangepicker-material copied to clipboard

v4 & Material Styling?

Open Zeouterlimits opened this issue 4 years ago • 7 comments

Angular Version: ~10.0.14 Angular Material Version: ^10.1.3 ngx-daterangepicker-material: ^4.0.1

Code:

<mat-form-field>
<mat-label>Date Range</mat-label>
<input type="text" matInput
              class="form-control input"
              ngxDaterangepickerMd
              [locale]="{applyLabel: 'ok', format: 'YYYY-MM-DD'}"
              startKey="startDate"
              endKey="endDate"
              [ranges]="dateRanges"
              [(ngModel)]="selectedDateRange"
              [alwaysShowCalendars]="true"
              [showRangeLabelOnInput]="true"
              [showCustomRangeLabel]="true"
              name="daterange"/>
</mat-form-field>

Appearance: Screen Shot 2020-09-15 at 5 18 18 PM

Sorry if this is a silly issue. I may be misunderstanding what the library is stating will happen in an angular material project, but I don't see it apply the material styling entirely?

Zeouterlimits avatar Sep 15 '20 05:09 Zeouterlimits

I got same issue but you can change styling of date picker. I have changed css properties For given issue i have changed css of .md-drppicker.ltr classes so appearance of datepicker also get changed

manali-sankey avatar Sep 21 '20 14:09 manali-sankey

I also have the same issue. Where you able to solve this issue

rprasath avatar Oct 26 '20 05:10 rprasath

@fetrarij , do you have any fix for this.?

neerajrathii avatar Oct 27 '20 08:10 neerajrathii

I got same issue but you can change styling of date picker. I have changed css properties For given issue i have changed css of .md-drppicker.ltr classes so appearance of datepicker also get changed

@manali-sankey can you please tell me how you modify the css ? as i am not able to do so. I want to right align the ranges menu and change the styling as well. Using angular 8

sidrafarooq avatar Mar 05 '21 18:03 sidrafarooq

Hi everyone, having this issue too. Any update on it?

gcherem avatar Apr 14 '21 13:04 gcherem

I got same issue but you can change styling of date picker. I have changed css properties For given issue i have changed css of .md-drppicker.ltr classes so appearance of datepicker also get changed

@manali-sankey can you please tell me how you modify the css ? as i am not able to do so. I want to right align the ranges menu and change the styling as well. Using angular 8

You might need to use ng-deep to get access in your css file.

blockerdude avatar Aug 20 '21 17:08 blockerdude

I got same issue but you can change styling of date picker. I have changed css properties For given issue i have changed css of .md-drppicker.ltr classes so appearance of datepicker also get changed

@manali-sankey can you please tell me how you modify the css ? as i am not able to do so. I want to right align the ranges menu and change the styling as well. Using angular 8

You might need to use ng-deep to get access in your css file.

@blockerdude i was able to solve the issue by using ng-deep

sidrafarooq avatar Aug 20 '21 17:08 sidrafarooq