Open srijai opened 6 years ago
I am trying to use with [hideTime]="true" but it does not hide the time. It actually hides the date and shows only the time. Below is my code. I have set the hideTime boolean to true in my component ts file.
<md-input-container *ngIf="showFromDate"> <input mdInput formControlName="fromDate" [MdDatetimepicker]="fromDate" placeholder="From" maxLength="20"> <button mdSuffix [mdDatetimepickerToggle]="fromDate" [hideTime]="hideTime"> <md-datetimepicker #fromDate [hideTime]="hideTime">
I am trying to use with [hideTime]="true" but it does not hide the time. It actually hides the date and shows only the time. Below is my code. I have set the hideTime boolean to true in my component ts file.
<md-input-container *ngIf="showFromDate"> <input mdInput formControlName="fromDate" [MdDatetimepicker]="fromDate" placeholder="From" maxLength="20"> <button mdSuffix [mdDatetimepickerToggle]="fromDate" [hideTime]="hideTime">
<md-datetimepicker #fromDate [hideTime]="hideTime">