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 组件接受 undefined #444

Closed
warmhug opened this issue Oct 26, 2016 · 2 comments
Closed

input 组件接受 undefined #444

warmhug opened this issue Oct 26, 2016 · 2 comments
Assignees
Labels

Comments

@warmhug
Copy link
Contributor

warmhug commented Oct 26, 2016

现象:
https://mobile.ant.design/components/list/#components-list-demo-form
image
输入密码、控制台报错(开发环境),而且不能 重置 这个密码框。

代码这样判断有问题
image

涉及 InputItem / TextareaItem 组件

@pingan1927
Copy link
Contributor

@yiminghe this.props.form.resetFields(); 重置的意思是啥?恢复到默认值吗?

warmhug pushed a commit that referenced this issue Nov 4, 2016
@lock
Copy link

lock bot commented May 28, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators May 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants