Browse Source

Fix cascader placeholder, close #1312

pull/1319/head
afc163 9 years ago
parent
commit
0f3c3c7e5a
  1. 2
      components/cascader/demo/basic.md
  2. 2
      components/cascader/index.jsx

2
components/cascader/demo/basic.md

@ -37,6 +37,6 @@ function onChange(value) {
}
ReactDOM.render(
<Cascader options={options} onChange={onChange} />
<Cascader options={options} onChange={onChange} placeholder="请选择地区" />
, mountNode);
````

2
components/cascader/index.jsx

@ -8,7 +8,7 @@ import classNames from 'classnames';
export default class Cascader extends React.Component {
static defaultProps = {
prefixCls: 'ant-cascader',
placeholder: '请选择',
placeholder: 'Please select',
transitionName: 'slide-up',
popupPlacement: 'bottomLeft',
onChange() {},

Loading…
Cancel
Save