Skip to content
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

[ input textarea ] Component recommends the allowClear attribute be added #3191

Closed
DreamPWJ opened this issue Mar 29, 2019 · 4 comments
Closed

Comments

@DreamPWJ
Copy link
Contributor

What problem does this feature solve?

You can click on the clear icon to delete content, which is very useful

What does the proposed API look like?

[allowClear]="true"

@DreamPWJ DreamPWJ changed the title input textarea Component recommends the allowClear attribute be added 【input textarea 】Component recommends the allowClear attribute be added Apr 1, 2019
@DreamPWJ DreamPWJ changed the title 【input textarea 】Component recommends the allowClear attribute be added [ input textarea ] Component recommends the allowClear attribute be added Apr 1, 2019
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Apr 3, 2019
@wzhudev
Copy link
Member

wzhudev commented Apr 4, 2019

@DreamPWJ Could you open a similar issue on https://github.com/ant-design/ant-design? We would implement it after them.

@DreamPWJ
Copy link
Contributor Author

DreamPWJ commented Apr 5, 2019

@wendzhue ant-design react This functionality has been implemented

@vthinkxie
Copy link
Member

@DreamPWJ
Copy link
Contributor Author

DreamPWJ commented Nov 6, 2019

@vthinkxie @wendzhue API设计太复杂了,react和vue版都很简单,如果有10几个input框,仅仅清除icon的代码就满屏了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants