-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline form nz-select & nz-input out of alignment #306
Labels
Comments
When I use <form nz-form nzLayout="inline" [formGroup]="searchForm" (submit)="loadData(true)">
<div nz-form-item>
<div nz-form-label>
<label>激活日期</label>
</div>
<div nz-form-control>
<nz-datepicker [nzSize]="'large'" [nzPlaceHolder]="'激活日期'" formControlName="activateDate"></nz-datepicker>
</div>
</div>
<div nz-form-item>
<div nz-form-label>
<label>查找字段</label>
</div>
<div nz-form-control>
<nz-select nzAllowClear
nzSize="large"
[formControlName]="'searchKey'">
<nz-option
*ngFor="let option of searchKeyOptions"
[nzLabel]="option.label"
[nzValue]="option.value">
</nz-option>
</nz-select>
</div>
</div>
<div nz-form-item>
<div nz-form-label>
<label>查找内容</label>
</div>
<div nz-form-control>
<nz-input [nzSize]="'large'" [nzPlaceHolder]="'查找内容'" [formControlName]="'searchValue'"></nz-input>
</div>
</div>
<button nz-button [nzType]="'primary'" type="submit">查询</button>
<button nz-button type="button" (click)="searchForm.reset()">清空</button>
</form> ng-zorro-antd version: 0.5.4 |
@ryancui- please add style width to nz-select |
thx~ |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
html:
and for all
nz-select
nz-input
nz-button
add[nzSize]="'large'"
property is work.The text was updated successfully, but these errors were encountered: