angular-material-components
angular-material-components copied to clipboard
ngx-mat-datetime-picker view is distorted in angular build version
Hi! i have been facing this issue while using date time picker with angular 7 project. Here is the code i am using for this purpose.
<input class=" col-md-4 mr-2 form-control" matInput [ngxMatDatetimePicker]="datePicker1"
placeholder="Choose a date" name="newmeetingdate" [min]="getMin" [(ngModel)]="newMeeting['date']">
<mat-datepicker-toggle matSuffix [for]="datePicker1"></mat-datepicker-toggle>
<ngx-mat-datetime-picker #datePicker1 [showSpinners]="showSpinners" [showSeconds]="showSeconds"
[stepHour]="stepHour" [stepMinute]="stepMinute" [stepSecond]="stepSecond" [touchUi]="touchUi"
[color]="color" [enableMeridian]="enableMeridian">
</ngx-mat-datetime-picker>
Now this datepicker is working well in local version or development version.but when i run npm run build its view is distorted like the picture attached below.

Please guide me.