Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
340 views
in Technique[技术] by (71.8m points)

angular - HTML select dropdown displays white background before displayed actual data

<select class="form-control select-arrow-down select-bg" title="{{externalInterfaceDTO.selectedValue}}" [ngClass]="{'yellow-input': param.isValueChanged===true, 'yellow-input-container': param.isError}" name="param.name" (ngModelChange)="changeDpValues(param)" [disabled]="param.isDisabled" [(ngModel)]="param.value" (mouseover)="onMouseOver(param)" (focus)="onFocus()" [id]="param.name+'_'+param.controlType" (focusout)="focusOut(panel.index-1)" style="background-position: top 15px right 15px !important;">

                              <option *ngFor="let item of param.items" [value]="item.value" 
                                [selected]=" item.value === param.value" title="{{item.name}}">
                                {{item.name}}</option>
                            </select>
question from:https://stackoverflow.com/questions/65843884/html-select-dropdown-displays-white-background-before-displayed-actual-data

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...