<div class="searchItem" [ngClass]="{'inModal': inModal}">
  <div class="item-label"><span *ngIf="isMust" class="deleteFontColor">* </span>{{label}}</div>
  <div class="item-input">
    <nz-date-picker *ngIf="!readonly" [(ngModel)]="date" nzPlaceHolder="" [nzShowTime]="showTime" [nzStyle]="{'width': '100%'}" style="width: 100%" (ngModelChange)="onChange()"></nz-date-picker>
    <span *ngIf="readonly">{{date | date: 'yyyy-MM-dd HH:mm:ss'}}</span>
  </div>
</div>
