From 0a683d3d34cc610d78a9cc4a5556ffae51c029e3 Mon Sep 17 00:00:00 2001 From: Gilad Gray Date: Mon, 19 Nov 2018 11:04:25 -0800 Subject: [PATCH] [select] fix inputprops docs --- packages/select/src/components/omnibar/omnibar.tsx | 2 +- packages/select/src/components/select/select.tsx | 2 +- packages/select/src/components/select/suggest.tsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/select/src/components/omnibar/omnibar.tsx b/packages/select/src/components/omnibar/omnibar.tsx index f2d3110edb..ba312ea20c 100644 --- a/packages/select/src/components/omnibar/omnibar.tsx +++ b/packages/select/src/components/omnibar/omnibar.tsx @@ -24,7 +24,7 @@ export interface IOmnibarProps extends IListItemsProps { /** * Props to spread to the query `InputGroup`. Use `query` and * `onQueryChange` instead of `inputProps.value` and `inputProps.onChange` - * to control this input. Use `inputRef` instead of `ref`. + * to control this input. */ inputProps?: IInputGroupProps & HTMLInputProps; diff --git a/packages/select/src/components/select/select.tsx b/packages/select/src/components/select/select.tsx index 281ea2c5e6..7d0262974b 100644 --- a/packages/select/src/components/select/select.tsx +++ b/packages/select/src/components/select/select.tsx @@ -40,7 +40,7 @@ export interface ISelectProps extends IListItemsProps { /** * Props to spread to the query `InputGroup`. Use `query` and * `onQueryChange` instead of `inputProps.value` and `inputProps.onChange` - * to control this input. Use `inputRef` instead of `ref`. + * to control this input. */ inputProps?: IInputGroupProps & HTMLInputProps; diff --git a/packages/select/src/components/select/suggest.tsx b/packages/select/src/components/select/suggest.tsx index 1fb2627107..dc668e85c5 100644 --- a/packages/select/src/components/select/suggest.tsx +++ b/packages/select/src/components/select/suggest.tsx @@ -29,9 +29,9 @@ export interface ISuggestProps extends IListItemsProps { closeOnSelect?: boolean; /** - * Props to spread to `InputGroup`. All props are supported except `ref` (use `inputRef` instead). - * If you want to control the filter input, you can pass `value` and `onChange` here - * to override `Suggest`'s own behavior. + * Props to spread to the query `InputGroup`. To control this input, use + * `query` and `onQueryChange` instead of `inputProps.value` and + * `inputProps.onChange`. */ inputProps?: IInputGroupProps & HTMLInputProps;