From de030a0333a8d4c4c75adea09b511582eeb67ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aaron=20Planell=20L=C3=B3pez?= Date: Fri, 9 Jun 2017 09:21:01 +0200 Subject: [PATCH] update document, ref #6392 (#6420) --- components/select/demo/search.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/select/demo/search.md b/components/select/demo/search.md index c9c4ad5030..49b504fb39 100644 --- a/components/select/demo/search.md +++ b/components/select/demo/search.md @@ -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} >