-
-
Notifications
You must be signed in to change notification settings - Fork 50.5k
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组件显示值而非描述 #50
Comments
是否暴露 optionLabelProp ? http://react-component.github.io/select/examples/force-suggest.html |
配置optionLabelProp="children"后显示正常,但感觉默认显示label内容比较合理 |
确实默认显示 label 较合理。 |
这个变更不兼容了,目前首页search 组件点击后,input 内容是 [object] |
在 这里 修复了这个问题。 但问题的实质是 search 搜索原生输入框的 inputValue 无法接受 React.Element 的值(而 select 本身是可以的)。https://github.com/react-component/select/blob/a05ac8e2809fa19e197d82624186dbde1144a14d/src/Select.jsx#L211 是否在 |
这个不合理,不应该转啊,用户应该自己选择,下拉只是一个展示而已,真实 input 的值需要指定 |
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. |
建议默认显示描述,或者提供配置项
The text was updated successfully, but these errors were encountered: