v4 & Material Styling?
See original GitHub issueAngular 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:
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?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
material-ui/styles
Material -UI aims to provide a strong foundation for building dynamic UIs. For the sake of simplicity, we expose the styling solution used...
Read more >Difference between @mui/material/styles and @mui/styles?
Normally in v4, you'd import the style API from @material-ui/core/styles . This one uses JSS behind the scene:
Read more >Styling with React's Material-UI v4 – Part 2 | I Read You Learn
Learn how to professionally handle Themes and apply them to Material-UI components, this is Part two of Styling with React's Material-UI.
Read more >@material-ui/styles - npm
Material -UI Styles - The styling solution of Material-UI.. Latest version: 4.11.5, last published: 9 months ago.
Read more >Material Design
Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
@blockerdude i was able to solve the issue by using ng-deep