diff --git a/packages/ui/src/fields/Select/Input.tsx b/packages/ui/src/fields/Select/Input.tsx index edb160bafe0..c9ae3e4afa0 100644 --- a/packages/ui/src/fields/Select/Input.tsx +++ b/packages/ui/src/fields/Select/Input.tsx @@ -30,6 +30,7 @@ export type SelectInputProps = { readonly localized?: boolean readonly name: string readonly onChange?: ReactSelectAdapterProps['onChange'] + readonly onInputChange?: ReactSelectAdapterProps['onInputChange'] readonly options?: OptionObject[] readonly path: string readonly readOnly?: boolean @@ -54,6 +55,7 @@ export const SelectInput: React.FC = (props) => { Label, localized, onChange, + onInputChange, options, path, readOnly, @@ -115,6 +117,7 @@ export const SelectInput: React.FC = (props) => { isMulti={hasMany} isSortable={isSortable} onChange={onChange} + onInputChange={onInputChange} options={options.map((option) => ({ ...option, label: getTranslation(option.label, i18n),