<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/react](./react.md) &gt; [useComboBoxInputValueChangeHandler](./react.usecomboboxinputvaluechangehandler.md)

## useComboBoxInputValueChangeHandler() function

Creates a callback handler for changing the step based on a combobox value. This only handles basic cases where the combobox option key can be set on the step using an object path.

<b>Signature:</b>

```typescript
export declare function useComboBoxInputValueChangeHandler<T extends object | void | unknown>(step: Step<T>, updateFn: (step: Step<T>, value: string | undefined) => void, onChange?: StepChangeFunction<T>): ComboBoxInputValueChangeHandler;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  step | Step&lt;T&gt; |  |
|  updateFn | (step: Step&lt;T&gt;, value: string \| undefined) =&gt; void |  |
|  onChange | StepChangeFunction&lt;T&gt; | <i>(Optional)</i> |

<b>Returns:</b>

[ComboBoxInputValueChangeHandler](./react.comboboxinputvaluechangehandler.md)

