Skip to content

Commit

Permalink
docs: add description about onClear prop in AutoComplete doc (#34292)
Browse files Browse the repository at this point in the history
  • Loading branch information
KAROTT7 committed Mar 4, 2022
1 parent 1cd87b4 commit 03d8556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/auto-complete/index.en-US.md
Expand Up @@ -46,6 +46,7 @@ The differences with Select are:
| onFocus | Called when entering the component | function() | - | |
| onSearch | Called when searching items | function(value) | - | |
| onSelect | Called when a option is selected. param is option's value and option instance | function(value, option) | - | |
| onClear | Called when clear | function | - | 4.6.0 |

## Methods

Expand Down
1 change: 1 addition & 0 deletions components/auto-complete/index.zh-CN.md
Expand Up @@ -48,6 +48,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/qtJm4yt45/AutoComplete.svg
| onFocus | 获得焦点时的回调 | function() | - | |
| onSearch | 搜索补全项的时候调用 | function(value) | - | |
| onSelect | 被选中时调用,参数为选中项的 value 值 | function(value, option) | - | |
| onClear | 清除内容时回调 | function | - | 4.6.0 |

## 方法

Expand Down

0 comments on commit 03d8556

Please sign in to comment.