@ -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>