From 0059e54ac46833277a7b1e8448792df052412735 Mon Sep 17 00:00:00 2001 From: "damon.chen" Date: Mon, 14 Dec 2020 11:10:55 +0800 Subject: [PATCH] docs: fix AutoComplete allowClear description Co-authored-by: chj_damon --- components/auto-complete/index.en-US.md | 2 +- components/auto-complete/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/auto-complete/index.en-US.md b/components/auto-complete/index.en-US.md index 8e447c8185..1b465c342b 100644 --- a/components/auto-complete/index.en-US.md +++ b/components/auto-complete/index.en-US.md @@ -16,7 +16,7 @@ When there is a need for autocomplete functionality. | Property | Description | Type | Default | Version | | --- | --- | --- | --- | --- | -| allowClear | Show clear button, effective in multiple mode only | boolean | false | | +| allowClear | Show clear button | boolean | false | | | autoFocus | If get focus when component mounted | boolean | false | | | backfill | If backfill selected item the input when using keyboard | boolean | false | | | children (for customize input element) | Customize input element | HTMLInputElement \| HTMLTextAreaElement \| React.ReactElement<InputProps> | <Input /> | | diff --git a/components/auto-complete/index.zh-CN.md b/components/auto-complete/index.zh-CN.md index 94753156c9..0dc26c27e2 100644 --- a/components/auto-complete/index.zh-CN.md +++ b/components/auto-complete/index.zh-CN.md @@ -23,7 +23,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/qtJm4yt45/AutoComplete.svg | 参数 | 说明 | 类型 | 默认值 | 版本 | | --- | --- | --- | --- | --- | -| allowClear | 支持清除, 单选模式有效 | boolean | false | | +| allowClear | 支持清除 | boolean | false | | | autoFocus | 自动获取焦点 | boolean | false | | | backfill | 使用键盘选择选项的时候把选中项回填到输入框中 | boolean | false | | | children (自动完成的数据源) | 自动完成的数据源 | React.ReactElement<OptionProps> \| Array<React.ReactElement<OptionProps>> | - | |