docs: fix demo, close #1207

pull/1256/head
Benjy Cui 9 years ago
parent f78b8b0aca
commit cd39283aca

@ -62,7 +62,7 @@ class BasicDemo extends React.Component {
checkPass(rule, value, callback) {
const { validateFields } = this.props.form;
if (value) {
validateFields(['rePasswd']);
validateFields(['rePasswd'], { force: true });
}
callback();
}

@ -42,7 +42,7 @@ export default class Header extends React.Component {
<div id="search-box">
<Select combobox
searchPlaceholder="搜索组件..." optionLabelProp="nothing"
onChange={this.handleSearch.bind(this)}>
onSelect={this.handleSearch.bind(this)}>
{options}
</Select>
</div>

Loading…
Cancel
Save