From 102efd529a9e4b368bb30f6d74bd893f73d0af90 Mon Sep 17 00:00:00 2001 From: Josiah Rooney Date: Thu, 21 Nov 2019 17:22:20 -0800 Subject: [PATCH] docs: Improved grammar in AutoComplete docs (#19875) Improved grammar in documentation for the AutoComplete component. --- components/auto-complete/index.en-US.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/auto-complete/index.en-US.md b/components/auto-complete/index.en-US.md index eb5f85567a..b926c45bd3 100644 --- a/components/auto-complete/index.en-US.md +++ b/components/auto-complete/index.en-US.md @@ -52,8 +52,8 @@ const dataSource = ['12345', '23456', '34567']; ## FAQ -### Why text composition system not works well with onSearch in controlled mode? +### Why doesn't the text composition system work well with onSearch in controlled mode? -Please use `onChange` to manage control state. `onSearch` is used for searching input which is not same as `onChange`. Besides, click on the option also not trigger the `onSearch` event. +Please use `onChange` to manage control state. `onSearch` is used for searching input which is not same as `onChange`. Besides, clicking on the option will not trigger the `onSearch` event. Related issue: [#18230](https://github.com/ant-design/ant-design/issues/18230) [#17916](https://github.com/ant-design/ant-design/issues/17916)