Comments (7)
是否暴露 optionLabelProp ?
http://react-component.github.io/select/examples/force-suggest.html
from ant-design.
配置optionLabelProp="children"后显示正常,但感觉默认显示label内容比较合理
from ant-design.
确实默认显示 label 较合理。
from ant-design.
这个变更不兼容了,目前首页search 组件点击后,input 内容是 [object]
from ant-design.
在 这里 修复了这个问题。
但问题的实质是 search 搜索原生输入框的 inputValue 无法接受 React.Element 的值(而 select 本身是可以的)。https://github.com/react-component/select/blob/a05ac8e2809fa19e197d82624186dbde1144a14d/src/Select.jsx#L211
是否在 optionLabelProp="children"
的情况下转成 text ?
from ant-design.
这个不合理,不应该转啊,用户应该自己选择,下拉只是一个展示而已,真实 input 的值需要指定
from ant-design.
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.
from ant-design.
Related Issues (20)
- Anchor component inside Affix component throws "findDOMNode is deprecated in StrictMode" HOT 1
- [Tree] onCheck / onSelect are triggered when clicking on an empty space in a modal / popover / dialog opened by the tree node HOT 1
- 图片插件-视频播放时,关闭弹窗,声音仍然在播放 HOT 4
- TimePicker.RangePicker需要点分别点start的确定和end的确定 HOT 4
- 图片-视频播放格式不支持.ts后缀视频文件播放 HOT 3
- 希望AntDesign的Tree组件支持sticky功能
- 当页面刷新时upload.Dragger 组件内的icon会颜色变化 HOT 4
- 不全局引入ant样式的话打包后发布到线上ant的样式全部丢了 HOT 19
- 【select】大数据渲染虚拟列表时,渲染中文卡顿 HOT 4
- RangePicker组件picker为month,value有默认值和没有默认值的时候,disableDate设置的是否可选月份有差别。 HOT 2
- Menu组件使用Dropdown的右键菜单 ,右键菜单点击事件会触发 Menu的 事件 HOT 2
- modal.confirm支持拖拽 HOT 13
- Upload 组件在上传后,接口返回报错信息,无法通过自定义替换到 tooltip里 HOT 1
- 在 RangePicker 组件 onCalendarChange 中调用 form.setFieldsValue,时间无法选择 HOT 1
- Masonary Component Required HOT 3
- Suffix icon behavior for undefined is inconsistent between components HOT 3
- MenuItem title stop working when it has children. HOT 5
- Importing the components from `antd/lib/*` ignores the current configured algorithm theme HOT 4
- 【Modal】期望Modal的onCancel只操控footer的点击事件 推出onClose来控制右上角的关闭icon HOT 2
- Dropdown 嵌套按钮,使用button的封装组件,无效 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design.