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

Select样式问题以及key属性的bug #3413

Closed
lslvxy opened this issue Oct 13, 2016 · 3 comments
Closed

Select样式问题以及key属性的bug #3413

lslvxy opened this issue Oct 13, 2016 · 3 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@lslvxy
Copy link

lslvxy commented Oct 13, 2016

示例代码:

http://codepen.io/lslvxy/pen/qaKVPm?editors=1011

说明:

select在table组件里面,加上了showSearch配置后下拉框展示后宽度变宽

给select设置一个固定宽度的话table的列宽度也会变宽

Option设置key属性无效,生成的key还是value值

@benjycui
Copy link
Contributor

给Option设置key属性无效,生成的key还是value值

这个是 by designed 的。

@benjycui
Copy link
Contributor

同时使用 showSearch 并把 Select 的宽度设为百分比时会有这个问题。。

先直接使用固定宽度来规避这个问题。

@benjycui benjycui added the 🐛 Bug Ant Design Team had proved that this is a bug. label Oct 13, 2016
@afc163 afc163 closed this as completed in d217c72 Oct 13, 2016
afc163 added a commit that referenced this issue Oct 14, 2016
@lock
Copy link

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

3 participants