mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
chore: update
(cherry picked from commit 3ad9e76823d211e3feadf6fd8c0e64e669b40c64)
This commit is contained in:
parent
71c35d1e42
commit
f85742ba9e
@ -125,7 +125,7 @@ Common props ref:[Common props](/docs/react/common-props)
|
||||
| value | Current selected option (considered as a immutable array) | string \| string\[] \| <br />number \| number\[] \| <br />LabeledValue \| LabeledValue\[] | - | |
|
||||
| variant | Variants of selector | `outlined` \| `borderless` \| `filled` \| `underlined` | `outlined` | 5.13.0 \| `underlined`: 5.24.0 |
|
||||
| virtual | Disable virtual scroll when set to false | boolean | true | 4.1.0 |
|
||||
| onActive | Called when keyboard or mouse interaction occurs | function(value: string \| number \| LabeledValue) | - | 6.0.0 |
|
||||
| onActive | Called when keyboard or mouse interaction occurs | function(value: string \| number \| LabeledValue) | - | |
|
||||
| onBlur | Called when blur | function | - | |
|
||||
| onChange | Called when select an option or input value change | function(value, option:Option \| Array<Option>) | - | |
|
||||
| onClear | Called when clear | function | - | 4.6.0 |
|
||||
|
@ -128,7 +128,7 @@ return (
|
||||
| value | 指定当前选中的条目,多选时为一个数组。(value 数组引用未变化时,Select 不会更新) | string \| string\[] \| <br />number \| number\[] \| <br />LabeledValue \| LabeledValue\[] | - | |
|
||||
| variant | 形态变体 | `outlined` \| `borderless` \| `filled` \| `underlined` | `outlined` | 5.13.0 \| `underlined`: 5.24.0 |
|
||||
| virtual | 设置 false 时关闭虚拟滚动 | boolean | true | 4.1.0 |
|
||||
| onActive | 键盘和鼠标交互时触发 | function(value: string \| number \| LabeledValue) | - | 6.0.0 |
|
||||
| onActive | 键盘和鼠标交互时触发 | function(value: string \| number \| LabeledValue) | - | |
|
||||
| onBlur | 失去焦点时回调 | function | - | |
|
||||
| onChange | 选中 option,或 input 的 value 变化时,调用此函数 | function(value, option:Option \| Array<Option>) | - | |
|
||||
| onClear | 清除内容时回调 | function | - | 4.6.0 |
|
||||
|
Loading…
Reference in New Issue
Block a user