mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
parent
823ac6c139
commit
bee522133e
@ -29,3 +29,4 @@ Since `AutoComplete` is based on `Select`, so besides the following API, `AutoCo
|
||||
| onSelect | Called when a option is selected. param is option's value and option instance. | function(value, option) | - |
|
||||
| disabled | Whether disabled select | boolean | false |
|
||||
| placeholder | placeholder of input | string | - |
|
||||
| optionLabelProp | Which prop value of option will render as content of select. | string | `children` |
|
||||
|
@ -30,3 +30,4 @@ const dataSource = ['12345', '23456', '34567'];
|
||||
| onSelect | 被选中时调用,参数为选中项的 value 值 | function(value, option) | 无 |
|
||||
| disabled | 是否禁用 | boolean | false |
|
||||
| placeholder | 输入框提示 | string | - |
|
||||
| optionLabelProp | 回填到选择框的 Option 的属性值,默认是 Option 的子元素。比如在子元素需要高亮效果时,此值可以设为 `value`。 | string | `children` |
|
||||
|
Loading…
Reference in New Issue
Block a user