We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ref ant-design/ant-design#19310
The text was updated successfully, but these errors were encountered:
请简化API 和react 一致
Sorry, something went wrong.
API太多复杂 ,多个清除input就导致大量的代码
@DreamPWJ 自己封装一个组件一共7行代码,目前提供给所有用户的就是原子操作,你需要的不是简化API,是封装API
<nz-input-group [nzSuffix]="suffixTemplate"> <input type="text" nz-input [(ngModel)]="inputValue" placeholder="input with clear icon" /> </nz-input-group> <ng-template #suffixTemplate ><i nz-icon class="ant-input-clear-icon" nzTheme="fill" nzType="close-circle" *ngIf="inputValue" (click)="inputValue = null"></i ></ng-template>
0af9242
feat(module:input): support textarea with clear icon
8152433
close NG-ZORRO#4623
7b6a6ed
@vthinkxie I think this issue should be reopened because of this situation:
Icon is now not visible.
vthinkxie
No branches or pull requests
Ref ant-design/ant-design#19310
The text was updated successfully, but these errors were encountered: