diff --git a/components/select/demo/basic.md b/components/select/demo/basic.md index fb224fb99a..3a21d590f9 100644 --- a/components/select/demo/basic.md +++ b/components/select/demo/basic.md @@ -16,9 +16,9 @@ function handleChange(value) { React.render( , document.getElementById('components-select-demo-basic')); diff --git a/components/select/index.jsx b/components/select/index.jsx index f02b97efd0..fa119d25dd 100644 --- a/components/select/index.jsx +++ b/components/select/index.jsx @@ -8,6 +8,7 @@ module.exports = React.createClass({ return { prefixCls: 'ant-select', transitionName: 'slide-up', + optionLabelProp: 'children', showSearch: false }; },