ahmed elbarbary

ahmed elbarbary

  • NA
  • 1.6k
  • 278.2k

why menu add space as white space blank on drop down ?

May 18 2020 8:19 AM
why menu add space as white space blank on drop down ?
I work on angular 7 i found drop down display white space on drop down so that why and how to solve that
  1. <div class="form-group" style="display: flex; align-items: center;margin-top:10px;margin-left:20px;">  
  2.          <div *ngFor="let fil of FilterList" style="padding-bottom: 10px;margin-right: 10px;">  
  3.            {{fil.controlName | slice:3:15}}     
  4.            <Select id="{{fil.controlName}}" (change)="onChange($event)" class="form-control"  
  5.              style="width:200px; margin-right:10px;" >  
  6.   
  7.   
  8.   
  9.              <option value="0">-Select-</option>  
  10.   
  11.              <option *ngFor="let fil2 of this.FilterBinddata" >  
  12.                <div *ngIf="fil.controlName===fil2.filterName ">  
  13.                  {{fil2.reportSource}}  
  14.                </div>  
  15.              </option>  
  16.   
  17.   
  18.   
  19.   
  20.            </Select>  
  21.   
  22.            <div>  
  23.            </div>  
  24.   
  25.          </div>  
  26.   
  27.        </div>  
 

Answers (11)