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

Can not reset Input and value prop on input` should not be null #2335

Closed
williamkhshea opened this issue Jul 10, 2016 · 3 comments
Closed

Can not reset Input and value prop on input` should not be null #2335

williamkhshea opened this issue Jul 10, 2016 · 3 comments
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@williamkhshea
Copy link

Mac OS X 10.11.5

  • antd 版本: 1.6.4
  • 操作系统及其版本:Mac OS X 10.11.5
  • 浏览器及其版本: Chrome 51.0.2704.106 (64-bit)

你做了什么?

screen shot 2016-07-10 at 4 43 24 pm

http://ant.design/components/form/

按重置

你期待的结果是:

清空值与状态

实际上的结果:

screen shot 2016-07-10 at 4 51 28 pm

只清空状态,没有清空值

可重现的在线演示

http://ant.design/components/form/

afc163 referenced this issue Jul 10, 2016
@afc163
Copy link
Member

afc163 commented Jul 10, 2016

fixed in 8ec15e4

@afc163 afc163 closed this as completed Jul 10, 2016
@afc163 afc163 changed the title resetFields 只清空状态,没有清空值 Can not reset Input and value prop on input` should not be null Jul 11, 2016
@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Jul 11, 2016
@afc163 afc163 reopened this Jul 11, 2016
@afc163
Copy link
Member

afc163 commented Jul 11, 2016

Keep this open util new version is published, avoiding more duplicated issue.

@lock
Copy link

lock bot commented May 4, 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 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants