我正在使用primeNG自动完成并添加了inputStyleClass =“ form-control”。问题是图标转到下一行。请参见下图
它应该在盒子旁边对齐,我该怎么做?
HTML
<div class="form-group col-xs-3 col-md-3"
[ngClass]="{
'has-error':(ersaForm.get('gatewayRole').touched || ersaForm.get('gatewayRole').dirty ) &&
!ersaForm.get('gatewayRole').valid
}">
<label for="gatewayRoleId" class="control-label">Gateway Role</label>
<p-autoComplete [suggestions]="iRole" formControlName="Role" inputStyleClass="form-control" id="RoleId" placeholder="Role (required)" (completeMethod)="searchRole($event)" [style]="{'width':'85%'}" [inputStyle]="{'width':'85%'}" field="name" dataKey="id" [dropdown]="true"></p-autoComplete>
</div>