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 combobox 模式下,optionLabelProp设置是无效,请更新文档 #1773

Closed
jzlxiaohei opened this issue May 19, 2016 · 3 comments
Closed
Assignees

Comments

@jzlxiaohei
Copy link
Contributor

       //我直接用的dist版本
       if (combobox) {
          notFoundContent = null;
          // children 带 dom 结构时,无法填入输入框
          optionLabelProp = 'value';
        }

有这样段代码,也就是 combobox 模式下,optionLabelProp设置无效的,文档应该更新下

另外这样处理太粗暴了,这样的话 combobox的用处实在太有限了

antd能否加个version字段,我去官网上看没问题,首先想到的是,是不是版本和官网不一样,但是很难判断。

@afc163 afc163 self-assigned this May 19, 2016
@afc163 afc163 closed this as completed in 6a1e727 May 19, 2016
@afc163
Copy link
Member

afc163 commented May 19, 2016

感谢反馈。

@renaesop
Copy link

fixed之后,貌似并没有改掉显示效果。因为combobox的渲染方式,看起来和非combobox很不一样

@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
None yet
Projects
None yet
Development

No branches or pull requests

3 participants