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

级联菜单表单,defaultValue在disabled下失效 #4648

Closed
lorrylockie opened this issue Jan 19, 2017 · 3 comments
Closed

级联菜单表单,defaultValue在disabled下失效 #4648

lorrylockie opened this issue Jan 19, 2017 · 3 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@lorrylockie
Copy link

lorrylockie commented Jan 19, 2017

Environment(required)

  • antd version: 2.6.0
  • Browser and its version: Chrome 最新版

What did you do? Please provide steps to re-produce your problem.

  1. 复制官方级联菜单第一个例子的demo (Basic 的demo)
  2. 在riddle 创建一个demo
  3. 复制级联菜单组件,并排写两个组件,同时把第二个复制的级联菜单组件添加defaultValu属性
  4. 3步骤后,级联菜单上默认就会选中defaultValue所指定的value
  5. 在其中一个级联菜单上添加了disabled属性, 问题出现:defautValue 不生效

What do you expected?

disabled下,defaultValue也是生效的,以便能够展示一个禁用状态下,但是表单上有值的级联菜单

What happen?

没出现

Re-producible online demo

--deleted--

@lorrylockie
Copy link
Author

@luolonghao

@afc163 afc163 self-assigned this Jan 19, 2017
@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Jan 19, 2017
@afc163
Copy link
Member

afc163 commented Jan 19, 2017

不要贴内网地址。

@afc163 afc163 closed this as completed in 9189d3c Jan 19, 2017
@lock
Copy link

lock bot commented May 2, 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 2, 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