mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
docs: add description about onClear prop in AutoComplete doc (#34292)
This commit is contained in:
parent
1cd87b4a6a
commit
03d8556d8c
@ -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
|
||||
|
||||
|
@ -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 |
|
||||
|
||||
## 方法
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user