diff --git a/components/select/index.en-US.md b/components/select/index.en-US.md index e01e40ca2e..11e799e9d1 100644 --- a/components/select/index.en-US.md +++ b/components/select/index.en-US.md @@ -54,6 +54,7 @@ Select component to select value from options. | menuItemSelectedIcon | The custom menuItemSelected icon with multiple options | ReactNode | - | 3.11.0 | | tokenSeparators | Separator used to tokenize on tag/multiple mode | string\[] | | | | value | Current selected option. | string\|string\[]\
number\|number\[]\
LabeledValue\|LabeledValue[] | - | | +| inputValue | Current search text | string | - | | | onBlur | Called when blur | function | - | | | onChange | Called when select an option or input value change, or value of input is changed in combobox mode | function(value, option:Option/Array<Option>) | - | | | onDeselect | Called when a option is deselected, param is the selected option's value. Only called for multiple or tags, effective in multiple or tags mode only. | function(string\|number\|LabeledValue) | - | | diff --git a/components/select/index.tsx b/components/select/index.tsx index 928f5b30b3..66257c6fab 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -53,6 +53,7 @@ export type SelectValue = string | string[] | number | number[] | LabeledValue | export interface SelectProps extends AbstractSelectProps { value?: T; + inputValue?: string; defaultValue?: T; mode?: 'default' | 'multiple' | 'tags' | 'combobox' | string; optionLabelProp?: string;