update document, ref #6392 (#6420)

pull/6388/head
Aaron Planell López 8 years ago committed by Wei Zhu
parent bac9cee1d8
commit de030a0333

@ -28,7 +28,7 @@ ReactDOM.render(
placeholder="Select a person"
optionFilterProp="children"
onChange={handleChange}
filterOption={(input, option) => option.props.value.toLowerCase().indexOf(input.toLowerCase()) >= 0}
filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0}
>
<Option value="jack">Jack</Option>
<Option value="lucy">Lucy</Option>

Loading…
Cancel
Save