<div class="searchItem" [ngClass]="{'inModal': inModal}">
  <div class="item-label"><span *ngIf="isMust" class="deleteFontColor">* </span>{{label}}</div>
  <div class="item-input" *ngIf="'number' != type">
    <input *ngIf="!readonly" nz-input [type]="type" [(ngModel)]="value" [maxlength]="maxlength" (ngModelChange)="onChange()">
    <span *ngIf="readonly">{{value}}</span>
  </div>
  <div class="item-input" *ngIf="'number' == type">
    <input *ngIf="!readonly" nz-input [type]="type" [min]="min" [(ngModel)]="value" [maxlength]="maxlength" (ngModelChange)="onChange()">
    <span *ngIf="readonly">{{value}}</span>
  </div>
</div>
